Skip to content

Commit ef99361

Browse files
Update coupling-cohesion.md (feature-sliced#593)
Fixed typo in props type declaration
1 parent a5022e8 commit ef99361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

i18n/en/docusaurus-plugin-content-docs/current/reference/isolation/coupling-cohesion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ List component will not itself define the look and structure of the header compo
3030

3131
```tsx
3232
interface ListProps {
33-
Header: Component;
34-
Items: Component;
33+
Header: React.ReactNode;
34+
Items: React.ReactNode;
3535
}
3636

3737
const List: Component<ListProps> = ({ Header, Items }) => (

0 commit comments

Comments
 (0)