@snowball-tech/fractal
Version:
Fractal's (Snowball's design system) React component library based on RadixUI and TailwindCSS
2 lines • 587 B
JavaScript
import{LIGHT_BG_COLORS_CLASSNAMES as e,PREFIX as t}from"../../constants.js";import{cn as n}from"../../styles/helpers.js";import{DEFAULT_COLOR as r,GROUP_NAME as i}from"./CuteIcon.constants.js";import a from"lodash/fp/omit.js";import{jsx as o}from"react/jsx-runtime";const s=({color:s=r,icon:c,...l})=>o(`div`,{className:n(`${t}-${i}`,`${t}-${i}--${s}`,`inline-flex h-5 max-h-5 min-h-5 w-5 min-w-5 max-w-5 items-center justify-center rounded-full p-1`,e[s],l.className),...a([`className`],l),children:c});s.displayName=`CuteIcon`;export{s as default};
//# sourceMappingURL=CuteIcon.js.map