diff --git a/src/sourceSnippets/typescript.ts b/src/sourceSnippets/typescript.ts index d024a0c..5cc9c1d 100644 --- a/src/sourceSnippets/typescript.ts +++ b/src/sourceSnippets/typescript.ts @@ -133,7 +133,7 @@ const typescriptReactArrowFunctionComponent: TypescriptSnippet = { ...react, '', ...propsTypeInterface, - `const ${Placeholders.FileName} = (props: Props) => {`, + `export const ${Placeholders.FileName} = (props: Props) => {`, ...innerComponent, '}', ],