Skip to content

Commit

Permalink
Fix typo in composition docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongarciah committed May 10, 2024
1 parent 6045256 commit 6960eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/material/guides/composition/composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ import { Link } from 'react-router-dom';

:::warning
However, this strategy suffers from a limitation: prop name collisions.
The component receiving the `component` prop (for example ListItem) might intercept the prop (for example to) that is destined to the leave element (for example Link).
The component receiving the `component` prop (for example ListItem) might intercept the prop (for example to) that is destined to the leaf element (for example Link).
:::

### With TypeScript
Expand Down

0 comments on commit 6960eb4

Please sign in to comment.