{ "React Component": { "scope": "typescriptreact", "prefix": "rfc", "body": [ "interface ${1:ComponentName}Props {}", "", "export const ${1:ComponentName}: React.FC<${1:ComponentName}Props> = () => {", " return (", "
", "

${1:ComponentName}

", "
", " )", "}", "", ], "description": "React Component", }, "React Component Story": { "scope": "typescriptreact", "prefix": "rfcs", "body": [ "import type { Meta, StoryObj } from \"@storybook/react\"", "", "import { ${1:ComponentName} as ${1:ComponentName}Component } from \"./${1:ComponentName}\"", "", "const meta = {", " title: \"${1:ComponentName}\",", " component: ${1:ComponentName}Component", "} satisfies Meta", "", "export default meta", "", "type Story = StoryObj", "", "export const ${1:ComponentName}: Story = {", " args: {}", "}", "", ], "description": "React Component Story", }, }