diff --git a/vim/templates/skel.tsx b/vim/templates/skel.tsx index 7c779e6..e8b69e9 100644 --- a/vim/templates/skel.tsx +++ b/vim/templates/skel.tsx @@ -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 ( +