Type alias MenuProps

MenuProps: {
    componentProps?: ViewProps;
    items: MenuItemProps[];
    maxMenuHeight?: number;
    style?: StyleProp<ViewStyle>;
}

Props for Menu component

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.

  • items: MenuItemProps[]

    Items to render in the menu

  • Optional maxMenuHeight?: number

    Height in pixels to max out the menu (defaults to 280)

  • Optional style?: StyleProp<ViewStyle>

    Style to set on the item

Generated using TypeDoc