Type alias SwitcherItem

SwitcherItem: {
    data?: unknown;
    disabled?: boolean;
    text: string;
    textType?: TextTypes;
}

An item to pass to content switcher

Type declaration

  • Optional data?: unknown

    Any additional data needed to store for the callback

  • Optional disabled?: boolean

    Indicate if item is disabled

  • text: string

    Text to render

  • Optional textType?: TextTypes

    Text type to render (Default is body-compact-01)

Generated using TypeDoc