Type alias DataTableHeaderSelectedProps

DataTableHeaderSelectedProps: {
    actions?: ButtonProps[];
    cancelText: string;
    componentProps?: ViewProps;
    itemsSelectedText?: string;
    onCancel: ((event) => void);
    style?: StyleProp<ViewStyle>;
}

Props for DataTableHeaderSelected component

Type declaration

  • Optional actions?: ButtonProps[]

    Actions to render. Usually one item is best or you may need to decide how many based on screen size to avoid scroll area being weird.

  • cancelText: string

    Cancel text to render for cancel button

  • 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 itemsSelectedText?: string

    Text to show for items selected. Normally X items selected where X is the number of items checked

  • onCancel: ((event) => void)
      • (event): void
      • Cancel button. Should clear selected items.

        Parameters

        • event: GestureResponderEvent

        Returns void

  • Optional style?: StyleProp<ViewStyle>

    Style to set on the item

Generated using TypeDoc