@trellixio/roaster-coffee
Version:
Beans' product component library
13 lines (10 loc) • 656 B
JavaScript
import * as React from 'react';
import { classNames } from '../../utils/classNames/index.js';
import '@floating-ui/react';
const ActionCard = React.forwardRef((props, ref) => {
const { actions, children, icon, className, style } = props;
return /* @__PURE__ */ React.createElement("article", { ref, className: classNames("card-action", className), style }, icon, /* @__PURE__ */ React.createElement("div", { className: "content" }, children), actions && /* @__PURE__ */ React.createElement("div", { className: "action items-group" }, actions));
});
ActionCard.displayName = "ActionCard";
export { ActionCard };
//# sourceMappingURL=ActionCard.js.map