Interface StatusBarItem

interface StatusBarItem {
    hasDivider?: boolean;
    key: string;
    createElement(props): ReactElement<any, string | JSXElementConstructor<any>>;
    createMenuItem?(props): ReactElement<any, string | JSXElementConstructor<any>>;
}

Properties

hasDivider?: boolean

Should we show a divider before this item

key: string

Use for identifying the item

Methods

  • Parameters

    • props: BoxProps

    Returns ReactElement<any, string | JSXElementConstructor<any>>

  • If not provided, we will create a default menu item

    Parameters

    • props: BoxProps

    Returns ReactElement<any, string | JSXElementConstructor<any>>