Skip to content

Instantly share code, notes, and snippets.

@hapo31
Last active June 25, 2020 03:34
Show Gist options
  • Save hapo31/1ae943e74f555d22393ad65300f98a3c to your computer and use it in GitHub Desktop.
Save hapo31/1ae943e74f555d22393ad65300f98a3c to your computer and use it in GitHub Desktop.
TSX のスニペット設定
{
"TSX FC Template": {
"prefix": "import",
"body": [
"import React from \"react\"",
"",
"type Props = {",
"$2",
"};",
"",
"export default (props: Props) => $1;",
],
"description": "Template for Functional Component"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment