fix(system): DropdownMenu children prop type
This commit is contained in:
parent
92cbdc16fa
commit
2cb774d2e1
|
@ -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