Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

menu-itemd

v3.1.8arrow_drop_down
v4.2.0
v3.1.8
v3.1.0
STATUS
Passing
DOWNLOADS
346
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
10 months ago
SIZE
N/A
1 contributor
Install menu-itemd as a package?
Copied
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Files
MenuItem.d.ts
12 Lines(12 sloc)
1
2
3
4
5
6
7
8
9
10
11
12
13
export interface MenuItem {
    label?: string;
    icon?: string;
    url?: string;
    items?: MenuItem[]|MenuItem[][];
    disabled?: boolean;
    target?: string;
    separator?: boolean;
    style?: any;
    className?: string;
    command?(e: {originalEvent: Event, item: MenuItem}): void;
}