UNPKG

@fidely-ui/react

Version:

Fidely UI is a modern, beautifully crafted React design system powered by Ark UI and Panda CSS, delivering accessible and themeable components for building exceptional web apps

8 lines (7 loc) 353 B
'use client'; import { jsx as _jsx } from "react/jsx-runtime"; export const createIcon = (name, path) => { const Component = ({ size = 20, ...props }) => (_jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "currentColor", "aria-label": name, ...props, children: path })); Component.displayName = name; return Component; };