@difizen/magent-au
Version:
19 lines • 569 B
JavaScript
import { Button } from 'antd';
import transferIcon from "../icons/transfer.svg";
import { jsx as _jsx } from "react/jsx-runtime";
export var TransferButton = function TransferButton(props) {
var _props$icon = props.icon,
icon = _props$icon === void 0 ? transferIcon : _props$icon,
onClick = props.onClick,
children = props.children;
return /*#__PURE__*/_jsx(Button, {
className: "bg-gray-50",
type: "text",
icon: /*#__PURE__*/_jsx("img", {
src: icon,
className: "h-6"
}),
onClick: onClick,
children: children
});
};