MenuItem: {
checked?: boolean;
disabled?: boolean;
ellipsis?: boolean;
hidden?: boolean;
id: string;
onClick?: ((item) => void);
order?: number;
subTitle?: string;
tips?: string;
title: string;
type: "normal";
} | {
hidden?: boolean;
order?: number;
type: "separator";
}
Type declaration
Optional
checked?: boolean
Optional
disabled?: boolean
Optional
ellipsis?: boolean
Optional
hidden?: boolean
id: string
Optional
onClick?: ((item) => void)
Optional
order?: number
Optional
subTitle?: string
Optional
tips?: string
title: string
type: "normal"
Type declaration
Optional
hidden?: boolean
Optional
order?: number
type: "separator"