Skip to content

Commit

Permalink
[docs][material-ui] Fix typo in composition docs (#42195)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongarciah committed May 10, 2024
1 parent 6045256 commit 5d3bc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/material/guides/composition/composition.md
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 5d3bc83

Please sign in to comment.