import * as React from 'react'; import { StyleProp, View, ViewStyle } from 'react-native'; declare type Props = React.ComponentPropsWithRef & { /** * Content of the `DataTableHeader`. */ children: React.ReactNode; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; }; /** * A component to display title in table header. * *
*
* *
*
* * * ## Usage * ```js * import * as React from 'react'; * import { DataTable } from 'react-native-paper'; * * const MyComponent = () => ( * * * * Dessert * * Calories * Fat (g) * * * ); * * export default MyComponent; * ``` */ declare const DataTableHeader: { ({ children, style, theme, ...rest }: Props): JSX.Element; displayName: string; }; declare const _default: React.ComponentType & { /** * Content of the `DataTableHeader`. */ children: React.ReactNode; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; }, keyof import("react-native").ViewProps | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { /** * Content of the `DataTableHeader`. */ children: React.ReactNode; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; }> & { ({ children, style, theme, ...rest }: Props): JSX.Element; displayName: string; }, {}>; export default _default; export { DataTableHeader };