UNPKG

@schematichq/schematic-icons

Version:

React component library for Schematic's icon system with TypeScript support

6 lines (5 loc) 256 B
import { jsx as _jsx } from "react/jsx-runtime"; import { StyledIcon } from "./styles"; export const Icon = ({ name, className = "", ...rest }) => { return (_jsx(StyledIcon, { className: `icon icon-${name} ${className}`, "$name": name, ...rest })); };