mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-22 03:14:06 -05:00
14 lines
253 B
JavaScript
14 lines
253 B
JavaScript
const template = (variables, { tpl }) => {
|
|
return tpl`
|
|
import type { IconProps } from "@opal/types";
|
|
|
|
const ${variables.componentName} = ({ size, ...props }: IconProps) => (
|
|
${variables.jsx}
|
|
);
|
|
|
|
${variables.exports};
|
|
`;
|
|
};
|
|
|
|
export default template;
|