feat(create-turbo): create basic
This commit is contained in:
8
packages/ui/turbo/generators/templates/component.hbs
Normal file
8
packages/ui/turbo/generators/templates/component.hbs
Normal file
@@ -0,0 +1,8 @@
|
||||
export const {{ pascalCase name }} = ({ children }: { children: React.ReactNode }) => {
|
||||
return (
|
||||
<div>
|
||||
<h1>{{ pascalCase name }} Component</h1>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
};
|
Reference in New Issue
Block a user