Skip to content

Commit

Permalink
remove link to wrapping components section in composition guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed Aug 10, 2024
1 parent 34add58 commit 1549e1f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/data/material/components/tooltips/tooltips.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ const MyComponent = React.forwardRef(function MyComponent(props, ref) {
</Tooltip>;
```

You can find a similar concept in the [wrapping components](/material-ui/guides/composition/#wrapping-components) guide.

If using a class component as a child, you'll also need to ensure that the ref is forwarded to the underlying DOM element. (A ref to the class component itself will not work.)

```jsx
Expand Down

0 comments on commit 1549e1f

Please sign in to comment.