We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08dd820 commit e91f361Copy full SHA for e91f361
docs/examples/getContainer.tsx
@@ -19,7 +19,7 @@ const { SubMenu } = Menu;
19
const MenuItemGroup = Menu.ItemGroup;
20
21
export default () => {
22
- const containerRef = React.useRef<HTMLDivElement>();
+ const containerRef = React.useRef<HTMLDivElement>(null);
23
const [open, setOpen] = React.useState(false);
24
25
return (
0 commit comments