Last active
March 13, 2023 18:46
-
-
Save mt-shihab26/545ab4743fa75d7e4b5307ee1e57dc81 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| { | |
| "Typescript React Functional Component with Props": { | |
| "prefix": "fcp", | |
| "body": [ | |
| "import type { FC } from \"react\";\n\ntype Props = {};\n\nconst $1: FC<Props> = () => {\n return <>$1</>;\n};\n\nexport default $1;\n" | |
| ] | |
| }, | |
| "Simple Typescript React Functional Component": { | |
| "prefix": "fcs", | |
| "body": ["const $1 = () => {\n return <>$1</>;\n};\n\nexport default $1;\n"] | |
| }, | |
| "Export default": { | |
| "prefix": "ed", | |
| "body": ["export default $1;\n"] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment