fix(system): DropdownMenu children prop type
This commit is contained in:
parent
7ebd125370
commit
45f8afd4e0
|
@ -31,7 +31,7 @@ const DropdownMenuTrigger = (props: TriggerProps) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface MenuProps extends DropdownMenuContentProps {
|
interface MenuProps extends DropdownMenuContentProps {
|
||||||
children: React.ReactElement[] | React.ReactElement
|
children: React.ReactNode
|
||||||
}
|
}
|
||||||
|
|
||||||
const DropdownMenu = (props: MenuProps) => {
|
const DropdownMenu = (props: MenuProps) => {
|
||||||
|
|
Loading…
Reference in New Issue