Update adr006-avoid-react-fc.md (#2649)
* Update adr006-avoid-react-fc.md * Update adr006-avoid-react-fc.md
This commit is contained in:
@@ -25,7 +25,7 @@ should be avoided in our codebase when adding new code.
|
||||
|
||||
Here is an example:
|
||||
|
||||
```ts
|
||||
```typescript
|
||||
/* Avoid this: */
|
||||
type BadProps = { text: string };
|
||||
const BadComponent: FC<BadProps> = ({ text, children }) => (
|
||||
|
||||
Reference in New Issue
Block a user