diff --git a/docs/src/pages/guides/migration-v3/migration-v3.md b/docs/src/pages/guides/migration-v3/migration-v3.md index ee374359dd3949..2ae27d1a636a96 100644 --- a/docs/src/pages/guides/migration-v3/migration-v3.md +++ b/docs/src/pages/guides/migration-v3/migration-v3.md @@ -341,10 +341,26 @@ You should be able to move the custom styles to the root class key. Only special HTML elements have these default behaviors. People should use `event.stopPropagation()` if they don't want to trigger a `onClose` event on the modal. +### Slide + +- [Slide] The child needs to be able to hold a ref. + + ```diff + class Component extends React.Component { + render() { + return
+ } + } + -const MyComponent = props => + +const MyComponent = React.forwardRef((props, ref) => ); +