Type alias UiPanelNestedItem

UiPanelNestedItem: {
    componentProps?: ViewProps;
    disabled?: boolean;
    hidden?: boolean;
    leftIcon?: CarbonIcon;
    onLongPress?: ((event) => void);
    onPress?: ((event) => void);
    rightIcon?: CarbonIcon;
    style?: StyleProp<ViewStyle>;
    text: string;
    textBreakMode?: TextBreakModes;
    textType?: TextTypes;
}

Item to show in the UiPanel

Type declaration

  • Optional componentProps?: ViewProps

    Direct props to set on the React Native component (including iOS and Android specific props). Most use cases should not need this.

  • Optional disabled?: boolean

    Indicate if the item should be disabled

  • Optional hidden?: boolean

    Indicate if the item should be hidden

  • Optional leftIcon?: CarbonIcon

    Left icon to render (size 20)

  • Optional onLongPress?: ((event) => void)
      • (event): void
      • onLongPress event

        Parameters

        • event: GestureResponderEvent

        Returns void

  • Optional onPress?: ((event) => void)
      • (event): void
      • onPress event

        Parameters

        • event: GestureResponderEvent

        Returns void

  • Optional rightIcon?: CarbonIcon

    Right icon to render (size 20)

  • Optional style?: StyleProp<ViewStyle>

    Style to set on the item

  • text: string

    Name of the navigation item to render

  • Optional textBreakMode?: TextBreakModes

    Break mode for text. Default is to wrap text

  • Optional textType?: TextTypes

    Text type to render (Standard is default. Normally only body 01 or 02 should be used)

Generated using TypeDoc