From efd690ce0e3b34e44e5ab4f708a94a527c6a17c8 Mon Sep 17 00:00:00 2001 From: fyodore82 Date: Mon, 3 Feb 2020 16:19:21 +1000 Subject: [PATCH] Use `function` style in place of `React.FC` --- docs/src/pages/guides/typescript/typescript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/guides/typescript/typescript.md b/docs/src/pages/guides/typescript/typescript.md index 59fc31f25508ce..c7e279a18a4d21 100644 --- a/docs/src/pages/guides/typescript/typescript.md +++ b/docs/src/pages/guides/typescript/typescript.md @@ -294,7 +294,7 @@ function GenericCustomComponent( } ``` -Now if the `GenericCustomComponent` will be used with a `component` prop provided, it should also have any props required by the provided component. +Now if the `GenericCustomComponent` will be used with a `component` prop provided, it should also have all props required by the provided component. ```ts function ThirdPartyComponent({ prop1 } : { prop1: string }) {