Skip to content

Commit

Permalink
Update template for new React component files
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKnarf committed Nov 2, 2024
1 parent be995b5 commit fd4a976
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions vim/templates/skel.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import React from 'react';

const @BASENAME@ : React.FC = () =>
<>
@CURSOR@
</>;
type @BASENAME@Props = {

export default @BASENAME@;
};

export const @BASENAME@ = ({

} : @BASENAME@Props ) => {
return (
<div>@CURSOR@</div>
);
};

0 comments on commit fd4a976

Please sign in to comment.