react-native-paper
Version:
Material design for React Native
584 lines (583 loc) • 29.9 kB
TypeScript
import * as React from 'react';
import { StyleProp, View, ViewStyle } from 'react-native';
declare type Props = React.ComponentPropsWithRef<typeof View> & {
/**
* Content of the `DataTable`.
*/
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
};
/**
* Data tables allow displaying sets of data.
*
* <div class="screenshots">
* <figure>
* <img class="large" src="screenshots/data-table.png" />
* <figcaption>Data table</figcaption>
* </figure>
* </div>
*
* ## Usage
* ```js
* import * as React from 'react';
* import { DataTable } from 'react-native-paper';
*
* const optionsPerPage = [2, 3, 4];
*
* const MyComponent = () => {
* const [page, setPage] = React.useState<number>(0);
* const [itemsPerPage, setItemsPerPage] = React.useState(optionsPerPage[0]);
*
* React.useEffect(() => {
* setPage(0);
* }, [itemsPerPage]);
*
* return (
* <DataTable>
* <DataTable.Header>
* <DataTable.Title>Dessert</DataTable.Title>
* <DataTable.Title numeric>Calories</DataTable.Title>
* <DataTable.Title numeric>Fat</DataTable.Title>
* </DataTable.Header>
*
* <DataTable.Row>
* <DataTable.Cell>Frozen yogurt</DataTable.Cell>
* <DataTable.Cell numeric>159</DataTable.Cell>
* <DataTable.Cell numeric>6.0</DataTable.Cell>
* </DataTable.Row>
*
* <DataTable.Row>
* <DataTable.Cell>Ice cream sandwich</DataTable.Cell>
* <DataTable.Cell numeric>237</DataTable.Cell>
* <DataTable.Cell numeric>8.0</DataTable.Cell>
* </DataTable.Row>
*
* <DataTable.Pagination
* page={page}
* numberOfPages={3}
* onPageChange={(page) => setPage(page)}
* label="1-2 of 6"
* optionsPerPage={optionsPerPage}
* itemsPerPage={itemsPerPage}
* setItemsPerPage={setItemsPerPage}
* showFastPagination
* optionsLabel={'Rows per page'}
* />
* </DataTable>
* );
*}
*
* export default MyComponent;
* ```
*/
declare const DataTable: {
({ children, style, ...rest }: Props): JSX.Element;
Header: React.ComponentType<Pick<import("react-native").ViewProps & React.RefAttributes<View> & {
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}, keyof import("react-native").ViewProps | keyof React.RefAttributes<View>> & {
theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("react-native").ViewProps & React.RefAttributes<View> & {
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}> & {
({ children, style, theme, ...rest }: import("react-native").ViewProps & React.RefAttributes<View> & {
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}): JSX.Element;
displayName: string;
}, {}>;
Title: React.ComponentType<Pick<import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
children: React.ReactNode;
numeric?: boolean | undefined;
sortDirection?: "ascending" | "descending" | undefined;
numberOfLines?: number | undefined;
onPress?: (() => void) | undefined;
/**
* Data tables allow displaying sets of data.
*
* <div class="screenshots">
* <figure>
* <img class="large" src="screenshots/data-table.png" />
* <figcaption>Data table</figcaption>
* </figure>
* </div>
*
* ## Usage
* ```js
* import * as React from 'react';
* import { DataTable } from 'react-native-paper';
*
* const optionsPerPage = [2, 3, 4];
*
* const MyComponent = () => {
* const [page, setPage] = React.useState<number>(0);
* const [itemsPerPage, setItemsPerPage] = React.useState(optionsPerPage[0]);
*
* React.useEffect(() => {
* setPage(0);
* }, [itemsPerPage]);
*
* return (
* <DataTable>
* <DataTable.Header>
* <DataTable.Title>Dessert</DataTable.Title>
* <DataTable.Title numeric>Calories</DataTable.Title>
* <DataTable.Title numeric>Fat</DataTable.Title>
* </DataTable.Header>
*
* <DataTable.Row>
* <DataTable.Cell>Frozen yogurt</DataTable.Cell>
* <DataTable.Cell numeric>159</DataTable.Cell>
* <DataTable.Cell numeric>6.0</DataTable.Cell>
* </DataTable.Row>
*
* <DataTable.Row>
* <DataTable.Cell>Ice cream sandwich</DataTable.Cell>
* <DataTable.Cell numeric>237</DataTable.Cell>
* <DataTable.Cell numeric>8.0</DataTable.Cell>
* </DataTable.Row>
*
* <DataTable.Pagination
* page={page}
* numberOfPages={3}
* onPageChange={(page) => setPage(page)}
* label="1-2 of 6"
* optionsPerPage={optionsPerPage}
* itemsPerPage={itemsPerPage}
* setItemsPerPage={setItemsPerPage}
* showFastPagination
* optionsLabel={'Rows per page'}
* />
* </DataTable>
* );
*}
*
* export default MyComponent;
* ```
*/
style?: StyleProp<ViewStyle>;
textStyle?: StyleProp<import("react-native").TextStyle>;
theme: ReactNativePaper.Theme;
}, "numberOfLines" | keyof import("react-native").TouchableWithoutFeedbackProps | keyof React.RefAttributes<import("react-native").TouchableWithoutFeedback> | "numeric" | "textStyle" | "sortDirection"> & {
theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
children: React.ReactNode;
numeric?: boolean | undefined;
sortDirection?: "ascending" | "descending" | undefined;
numberOfLines?: number | undefined;
onPress?: (() => void) | undefined;
/**
* Data tables allow displaying sets of data.
*
* <div class="screenshots">
* <figure>
* <img class="large" src="screenshots/data-table.png" />
* <figcaption>Data table</figcaption>
* </figure>
* </div>
*
* ## Usage
* ```js
* import * as React from 'react';
* import { DataTable } from 'react-native-paper';
*
* const optionsPerPage = [2, 3, 4];
*
* const MyComponent = () => {
* const [page, setPage] = React.useState<number>(0);
* const [itemsPerPage, setItemsPerPage] = React.useState(optionsPerPage[0]);
*
* React.useEffect(() => {
* setPage(0);
* }, [itemsPerPage]);
*
* return (
* <DataTable>
* <DataTable.Header>
* <DataTable.Title>Dessert</DataTable.Title>
* <DataTable.Title numeric>Calories</DataTable.Title>
* <DataTable.Title numeric>Fat</DataTable.Title>
* </DataTable.Header>
*
* <DataTable.Row>
* <DataTable.Cell>Frozen yogurt</DataTable.Cell>
* <DataTable.Cell numeric>159</DataTable.Cell>
* <DataTable.Cell numeric>6.0</DataTable.Cell>
* </DataTable.Row>
*
* <DataTable.Row>
* <DataTable.Cell>Ice cream sandwich</DataTable.Cell>
* <DataTable.Cell numeric>237</DataTable.Cell>
* <DataTable.Cell numeric>8.0</DataTable.Cell>
* </DataTable.Row>
*
* <DataTable.Pagination
* page={page}
* numberOfPages={3}
* onPageChange={(page) => setPage(page)}
* label="1-2 of 6"
* optionsPerPage={optionsPerPage}
* itemsPerPage={itemsPerPage}
* setItemsPerPage={setItemsPerPage}
* showFastPagination
* optionsLabel={'Rows per page'}
* />
* </DataTable>
* );
*}
*
* export default MyComponent;
* ```
*/
style?: StyleProp<ViewStyle>;
textStyle?: StyleProp<import("react-native").TextStyle>;
theme: ReactNativePaper.Theme;
}> & {
({ numeric, children, onPress, sortDirection, theme, textStyle, style, numberOfLines, ...rest }: import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
children: React.ReactNode;
numeric?: boolean | undefined;
sortDirection?: "ascending" | "descending" | undefined;
numberOfLines?: number | undefined;
onPress?: (() => void) | undefined;
/**
* Data tables allow displaying sets of data.
*
* <div class="screenshots">
* <figure>
* <img class="large" src="screenshots/data-table.png" />
* <figcaption>Data table</figcaption>
* </figure>
* </div>
*
* ## Usage
* ```js
* import * as React from 'react';
* import { DataTable } from 'react-native-paper';
*
* const optionsPerPage = [2, 3, 4];
*
* const MyComponent = () => {
* const [page, setPage] = React.useState<number>(0);
* const [itemsPerPage, setItemsPerPage] = React.useState(optionsPerPage[0]);
*
* React.useEffect(() => {
* setPage(0);
* }, [itemsPerPage]);
*
* return (
* <DataTable>
* <DataTable.Header>
* <DataTable.Title>Dessert</DataTable.Title>
* <DataTable.Title numeric>Calories</DataTable.Title>
* <DataTable.Title numeric>Fat</DataTable.Title>
* </DataTable.Header>
*
* <DataTable.Row>
* <DataTable.Cell>Frozen yogurt</DataTable.Cell>
* <DataTable.Cell numeric>159</DataTable.Cell>
* <DataTable.Cell numeric>6.0</DataTable.Cell>
* </DataTable.Row>
*
* <DataTable.Row>
* <DataTable.Cell>Ice cream sandwich</DataTable.Cell>
* <DataTable.Cell numeric>237</DataTable.Cell>
* <DataTable.Cell numeric>8.0</DataTable.Cell>
* </DataTable.Row>
*
* <DataTable.Pagination
* page={page}
* numberOfPages={3}
* onPageChange={(page) => setPage(page)}
* label="1-2 of 6"
* optionsPerPage={optionsPerPage}
* itemsPerPage={itemsPerPage}
* setItemsPerPage={setItemsPerPage}
* showFastPagination
* optionsLabel={'Rows per page'}
* />
* </DataTable>
* );
*}
*
* export default MyComponent;
* ```
*/
style?: StyleProp<ViewStyle>;
textStyle?: StyleProp<import("react-native").TextStyle>;
theme: ReactNativePaper.Theme;
}): JSX.Element;
displayName: string;
}, {}>;
Row: React.ComponentType<Pick<import("../../types").$RemoveChildren<React.ComponentType<Pick<import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof React.RefAttributes<import("react-native").TouchableWithoutFeedback>> & {
theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}> & {
({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}): JSX.Element;
supported: boolean;
}, {}>> & {
children: React.ReactNode;
onPress?: (() => void) | undefined;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined; /**
* Content of the `DataTable`.
*/
}, "style" | "children" | "pointerEvents" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "hitSlop" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered"> & {
theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("../../types").$RemoveChildren<React.ComponentType<Pick<import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof React.RefAttributes<import("react-native").TouchableWithoutFeedback>> & {
theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}> & {
({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}): JSX.Element;
supported: boolean;
}, {}>> & {
children: React.ReactNode;
onPress?: (() => void) | undefined;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined; /**
* Content of the `DataTable`.
*/
}> & {
({ onPress, style, theme, children, pointerEvents, ...rest }: import("../../types").$RemoveChildren<React.ComponentType<Pick<import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof React.RefAttributes<import("react-native").TouchableWithoutFeedback>> & {
theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}> & {
({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}): JSX.Element;
supported: boolean;
}, {}>> & {
children: React.ReactNode;
onPress?: (() => void) | undefined;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined; /**
* Content of the `DataTable`.
*/
}): JSX.Element;
displayName: string;
}, {}>;
Cell: {
({ children, textStyle, style, numeric, ...rest }: import("../../types").$RemoveChildren<React.ComponentType<Pick<import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof React.RefAttributes<import("react-native").TouchableWithoutFeedback>> & {
theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}> & {
({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes<import("react-native").TouchableWithoutFeedback> & {
borderless?: boolean | undefined;
background?: Object | undefined;
centered?: boolean | undefined;
disabled?: boolean | undefined;
onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
rippleColor?: string | undefined;
underlayColor?: string | undefined;
children: React.ReactNode;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}): JSX.Element;
supported: boolean;
}, {}>> & {
children: React.ReactNode;
numeric?: boolean | undefined;
onPress?: (() => void) | undefined;
style?: StyleProp<ViewStyle>;
textStyle?: StyleProp<import("react-native").TextStyle>;
}): JSX.Element;
displayName: string;
};
Pagination: React.ComponentType<Pick<import("react-native").ViewProps & React.RefAttributes<View> & {
page: number;
numberOfPages: number;
onPageChange: (page: number) => void;
showFastPaginationControls?: boolean | undefined;
} & {
numberOfItemsPerPage?: number | undefined;
numberOfItemsPerPageList?: number[] | undefined;
onItemsPerPageChange?: ((numberOfItemsPerPage: number) => void) | undefined;
} & {
label?: React.ReactNode;
accessibilityLabel?: string | undefined;
selectPageDropdownLabel?: React.ReactNode;
selectPageDropdownAccessibilityLabel?: string | undefined;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}, "label" | keyof import("react-native").ViewProps | keyof React.RefAttributes<View> | "selectPageDropdownLabel" | "selectPageDropdownAccessibilityLabel" | keyof {
page: number;
numberOfPages: number;
onPageChange: (page: number) => void;
showFastPaginationControls?: boolean | undefined;
} | keyof {
numberOfItemsPerPage?: number | undefined;
numberOfItemsPerPageList?: number[] | undefined;
onItemsPerPageChange?: ((numberOfItemsPerPage: number) => void) | undefined;
}> & {
theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("react-native").ViewProps & React.RefAttributes<View> & {
page: number;
numberOfPages: number;
onPageChange: (page: number) => void;
showFastPaginationControls?: boolean | undefined;
} & {
numberOfItemsPerPage?: number | undefined;
numberOfItemsPerPageList?: number[] | undefined;
onItemsPerPageChange?: ((numberOfItemsPerPage: number) => void) | undefined;
} & {
label?: React.ReactNode;
accessibilityLabel?: string | undefined;
selectPageDropdownLabel?: React.ReactNode;
selectPageDropdownAccessibilityLabel?: string | undefined;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}> & {
({ label, accessibilityLabel, page, numberOfPages, onPageChange, style, theme, showFastPaginationControls, numberOfItemsPerPageList, numberOfItemsPerPage, onItemsPerPageChange, selectPageDropdownLabel, selectPageDropdownAccessibilityLabel, ...rest }: import("react-native").ViewProps & React.RefAttributes<View> & {
page: number;
numberOfPages: number;
onPageChange: (page: number) => void;
showFastPaginationControls?: boolean | undefined;
} & {
numberOfItemsPerPage?: number | undefined;
numberOfItemsPerPageList?: number[] | undefined;
onItemsPerPageChange?: ((numberOfItemsPerPage: number) => void) | undefined;
} & {
label?: React.ReactNode;
accessibilityLabel?: string | undefined;
selectPageDropdownLabel?: React.ReactNode;
selectPageDropdownAccessibilityLabel?: string | undefined;
style?: StyleProp<ViewStyle>;
theme: ReactNativePaper.Theme;
}): JSX.Element;
displayName: string;
}, {}>;
};
export default DataTable;