Skip to content

Commit 1552b4e

Browse files
Add export to tsrafc
1 parent 185bb91 commit 1552b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sourceSnippets/typescript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const typescriptReactArrowFunctionComponent: TypescriptSnippet = {
133133
...react,
134134
'',
135135
...propsTypeInterface,
136-
`const ${Placeholders.FileName} = (props: Props) => {`,
136+
`export const ${Placeholders.FileName} = (props: Props) => {`,
137137
...innerComponent,
138138
'}',
139139
],

0 commit comments

Comments
 (0)