We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3de0075 commit efb7487Copy full SHA for efb7487
1 file changed
src/template/componentsTypescript.ts
@@ -8,7 +8,7 @@ export interface ${name}OwnProps {}
8
9
type ${name}Props = ${name}OwnProps & FelaWithStylesProps<${name}OwnProps, {}>;
10
11
-const ${name}: FunctionComponent<${name}Props> = ({ styles }) => (
+const ${name}: FC<${name}Props> = ({ styles }) => (
12
<div className={styles.container}>
13
14
</div>
@@ -27,7 +27,7 @@ import * as rules from './${name}.styles';
27
28
export interface ${name}Props {}
29
30
-const ${name}: FunctionComponent<${name}Props> = () => {
+const ${name}: FC<${name}Props> = () => {
31
const { styles } = useFelaEnhanced(rules);
32
33
return (
0 commit comments