mirror of
https://github.com/outline/outline.git
synced 2026-12-01 17:32:49 +03:00
Optional children
This commit is contained in:
1 parent
55976c9500
commit
f993af016d
1 file changed
+1
-1
@@ -21,7 +21,7 @@ const DropdownMenuItem = ({ onClick, children }: MenuItemProps) => {
|
||||
|
||||
type DropdownMenuProps = {
|
||||
label: React.Element<any>,
|
||||
children: React.Element<any>,
|
||||
children?: React.Element<any>,
|
||||
};
|
||||
|
||||
@observer class DropdownMenu extends React.Component {
|
||||
|
||||
Reference in new issue
Block a user