diff --git a/.vscode/.snippet.code-snippets b/.vscode/.snippet.code-snippets index f4961fc..a072b93 100644 --- a/.vscode/.snippet.code-snippets +++ b/.vscode/.snippet.code-snippets @@ -15,5 +15,27 @@ "`}" ], "description": "Log output to console" + }, + "React Functional Component": { + "scope": "typescriptreact", + "prefix": "rfc", + "body": [ + "import * as React from 'react';", + "import { FunctionComponent } from 'react';", + "", + "const $TM_FILENAME_BASE: FunctionComponent = () => {", + "\treturn (", + "\t\t
", + "\t\t\t$0", + "\t\t\t", + "\t\t
", + "\t);", + "}", + "", + "export default $TM_FILENAME_BASE;" + ], + "description": "Log output to console" } } \ No newline at end of file