1 | import * as React from 'react';
|
2 | import { StyleProp, TouchableWithoutFeedback, ViewStyle } from 'react-native';
|
3 | declare type Props = React.ComponentPropsWithRef<typeof TouchableWithoutFeedback> & {
|
4 | |
5 |
|
6 |
|
7 | children: React.ReactNode;
|
8 | |
9 |
|
10 |
|
11 | numeric?: boolean;
|
12 | |
13 |
|
14 |
|
15 | sortDirection?: 'ascending' | 'descending';
|
16 | |
17 |
|
18 |
|
19 | numberOfLines?: number;
|
20 | |
21 |
|
22 |
|
23 | onPress?: () => void;
|
24 | style?: StyleProp<ViewStyle>;
|
25 | |
26 |
|
27 |
|
28 | theme: ReactNativePaper.Theme;
|
29 | };
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 | declare const DataTableTitle: {
|
63 | ({ numeric, children, onPress, sortDirection, theme, style, numberOfLines, ...rest }: Props): JSX.Element;
|
64 | displayName: string;
|
65 | };
|
66 | declare const _default: (React.ComponentClass<Pick<Props, "ref" | "style" | "children" | "numberOfLines" | "onLayout" | "onPress" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "touchSoundDisabled" | "numeric" | "sortDirection"> & {
|
67 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
68 | }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
69 | ({ numeric, children, onPress, sortDirection, theme, style, numberOfLines, ...rest }: Props): JSX.Element;
|
70 | displayName: string;
|
71 | }) | (React.FunctionComponent<Props> & {
|
72 | ({ numeric, children, onPress, sortDirection, theme, style, numberOfLines, ...rest }: Props): JSX.Element;
|
73 | displayName: string;
|
74 | }), {}>) | (React.FunctionComponent<Pick<Props, "ref" | "style" | "children" | "numberOfLines" | "onLayout" | "onPress" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "touchSoundDisabled" | "numeric" | "sortDirection"> & {
|
75 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
76 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
77 | ({ numeric, children, onPress, sortDirection, theme, style, numberOfLines, ...rest }: Props): JSX.Element;
|
78 | displayName: string;
|
79 | }) | (React.FunctionComponent<Props> & {
|
80 | ({ numeric, children, onPress, sortDirection, theme, style, numberOfLines, ...rest }: Props): JSX.Element;
|
81 | displayName: string;
|
82 | }), {}>);
|
83 | export default _default;
|
84 | export { DataTableTitle };
|