voicebot-react-native-expo
Version:
This is a voicebot-react-native package of Kipps AI voice bot for React Native Expo
22 lines (17 loc) • 472 B
JavaScript
/**
* This function is used as a template to generate SVG components with svgr.
* @internal
*/
function template(variables, { tpl }) {
return tpl`
${'/**\n * WARNING: This file was auto-generated by svgr. Do not edit.\n */\n'}
${variables.imports};
${variables.interfaces};
${'/**\n * @internal\n */\n'}
const ${variables.componentName} = (${variables.props}) => (
${variables.jsx}
);
${variables.exports};
`;
}
module.exports = template;