Type alias DataTableRowProps

DataTableRowProps: {
    children: React.ReactNode;
    componentProps?: ViewProps;
    onLongPress?: ((event) => void);
    onPress?: ((event) => void);
    rowText?: string;
    style?: StyleProp<ViewStyle>;
}

Props for DataTableRow component

Type declaration

  • children: React.ReactNode

    Content of the row. Should be list of .

  • 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 onLongPress?: ((event) => void)
      • (event): void
      • onLongPress event for the row (ignored if DataTableCell has press events)

        Parameters

        • event: GestureResponderEvent

        Returns void

  • Optional onPress?: ((event) => void)
      • (event): void
      • onPress event for the row (ignored if DataTableCell has press events)

        Parameters

        • event: GestureResponderEvent

        Returns void

  • Optional rowText?: string

    Text to use for row (accessibility). Not set by default.

  • Optional style?: StyleProp<ViewStyle>

    Style to set on the item

Generated using TypeDoc