Last active
May 12, 2023 08:07
-
-
Save hk-skit/0eb83dd50424fcfbe548e4e89dce9b2c to your computer and use it in GitHub Desktop.
VS Code Snnipets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"React Function Component Typescript": { | |
"prefix": "rfct", | |
"body": [ | |
"import type { FC } from \"react\"", | |
"import type { ${TM_FILENAME_BASE}Props } from \"./${TM_FILENAME_BASE}.types\"", | |
"", | |
"const ${TM_FILENAME_BASE}: FC<${TM_FILENAME_BASE}Props> = () => <div />;", | |
"", | |
"export default $TM_FILENAME_BASE;", | |
"" | |
], | |
"description": "React Function Component Typescript" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment