add customized yas-snippets
This commit is contained in:
10 files changed
+72
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: react function component template in typescript
|
||||
# key: rft
|
||||
# --
|
||||
import { FC } from 'react';
|
||||
|
||||
const $1: FC = (${2:props}) => {
|
||||
return (
|
||||
$0
|
||||
);
|
||||
};
|
||||
|
||||
export default $1;
|
||||
Reference in new issue
Block a user