import _extends from "@babel/runtime/helpers/extends";
/**
 * Public API — exported externally. Do not add props without external support intent.
 */
import React from 'react';
import Action from '../view/FlexibleCard/components/actions/action';
import { toActionProps } from '../view/FlexibleCard/components/actions/utils';
export const CustomAction = props => /*#__PURE__*/React.createElement(Action, _extends({}, toActionProps(props), {
  content: props.children,
  onClick: props.onClick
}));