UNPKG

@wix/design-system

Version:

@wix/design-system

13 lines 637 B
import React from 'react'; import { MoveLarge } from '@wix/wix-ui-icons-common/system'; import { stVars } from '../../Foundation/stylable/colors.st.css.js'; import { st, classes } from './DragHandle.st.css.js'; const DragHandle = ({ buttonProps }) => { const icon = React.createElement(MoveLarge, { style: { color: stVars.D80 } }); if (!buttonProps) return icon; return (React.createElement("button", { type: "button", ...buttonProps, className: st(classes.root, buttonProps.className) }, icon)); }; DragHandle.displayName = 'MediaOverlay.DragHandle'; export default DragHandle; //# sourceMappingURL=DragHandle.js.map