mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-17 22:06:42 +02:00
16 lines
246 B
JavaScript
16 lines
246 B
JavaScript
const template = (variables, { tpl }) => {
|
|
return tpl`
|
|
${variables.imports};
|
|
|
|
${variables.interfaces};
|
|
|
|
const ${variables.componentName} = (${variables.props}) => (
|
|
${variables.jsx}
|
|
);
|
|
|
|
${variables.exports};
|
|
`;
|
|
};
|
|
|
|
module.exports = template;
|