Skip to content

Commit

Permalink
hygen template 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hmu332233 committed Mar 12, 2022
1 parent 8749b0d commit 4f27565
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions _templates/components/new/index.ejs.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
to: components/<%= name %>.tsx
---
import React from 'react';

type Props = {};

function <%= name %>({}: Props) {
return (
<div></div>
);
}

export default <%= name %>;

0 comments on commit 4f27565

Please sign in to comment.