UNPKG

@trellixio/roaster-coffee

Version:
21 lines (18 loc) 555 B
import * as React from 'react'; import { classNames } from '../../utils/classNames/index.js'; import '@floating-ui/react'; const Icon = React.forwardRef((props, ref) => { const { color, children, small, hasTooltip, className, ...otherProps } = props; return /* @__PURE__ */ React.createElement( "span", { ref, className: classNames("icon", color, { small }, hasTooltip ? "has-tooltip" : "", className), ...otherProps }, children ); }); Icon.displayName = "Icon"; export { Icon }; //# sourceMappingURL=Icon.js.map