1 | import * as React from 'react';
|
2 | import { Animated, StyleProp, TextStyle } from 'react-native';
|
3 | import AnimatedText from './Typography/AnimatedText';
|
4 | import type { $Omit } from '../types';
|
5 | declare type Props = $Omit<$Omit<React.ComponentPropsWithRef<typeof AnimatedText>, 'padding'>, 'type'> & {
|
6 | |
7 |
|
8 |
|
9 | type: 'error' | 'info';
|
10 | |
11 |
|
12 |
|
13 | visible?: boolean;
|
14 | |
15 |
|
16 |
|
17 | padding?: 'none' | 'normal';
|
18 | |
19 |
|
20 |
|
21 | children: React.ReactNode;
|
22 | style?: StyleProp<TextStyle>;
|
23 | |
24 |
|
25 |
|
26 | theme: ReactNativePaper.Theme;
|
27 | |
28 |
|
29 |
|
30 | testID?: string;
|
31 | };
|
32 | declare const _default: React.ComponentType<Pick<$Omit<$Omit<(Pick<Pick<Animated.AnimatedProps<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>> & {
|
33 | style?: StyleProp<TextStyle>;
|
34 | theme: ReactNativePaper.Theme;
|
35 | }, keyof import("react-native").TextProps | keyof React.RefAttributes<import("react-native").Text>> & {
|
36 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
37 | }, keyof import("react-native").TextProps | "key" | "theme"> & React.RefAttributes<React.Component<Pick<Animated.AnimatedProps<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>> & {
|
38 | style?: StyleProp<TextStyle>;
|
39 | theme: ReactNativePaper.Theme;
|
40 | }, keyof import("react-native").TextProps | keyof React.RefAttributes<import("react-native").Text>> & {
|
41 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
42 | }, any, any>>) | (Pick<Animated.AnimatedProps<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>> & {
|
43 | style?: StyleProp<TextStyle>;
|
44 | theme: ReactNativePaper.Theme;
|
45 | }, keyof import("react-native").TextProps | keyof React.RefAttributes<import("react-native").Text>> & {
|
46 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
47 | } & {
|
48 | children?: React.ReactNode;
|
49 | }), "padding">, "type"> & {
|
50 | |
51 |
|
52 |
|
53 | type: "error" | "info";
|
54 | |
55 |
|
56 |
|
57 | visible?: boolean | undefined;
|
58 | |
59 |
|
60 |
|
61 | padding?: "normal" | "none" | undefined;
|
62 | |
63 |
|
64 |
|
65 | children: React.ReactNode;
|
66 | style?: StyleProp<TextStyle>;
|
67 | |
68 |
|
69 |
|
70 | theme: ReactNativePaper.Theme;
|
71 | |
72 |
|
73 |
|
74 | testID?: string | undefined;
|
75 | }, "style" | "children" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onLayout" | "onTextLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "nativeID" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "minimumFontScale" | "suppressHighlighting" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "visible" | "padding" | "ref" | "key" | "type"> & {
|
76 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
77 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<$Omit<$Omit<(Pick<Pick<Animated.AnimatedProps<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>> & {
|
78 | style?: StyleProp<TextStyle>;
|
79 | theme: ReactNativePaper.Theme;
|
80 | }, keyof import("react-native").TextProps | keyof React.RefAttributes<import("react-native").Text>> & {
|
81 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
82 | }, keyof import("react-native").TextProps | "key" | "theme"> & React.RefAttributes<React.Component<Pick<Animated.AnimatedProps<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>> & {
|
83 | style?: StyleProp<TextStyle>;
|
84 | theme: ReactNativePaper.Theme;
|
85 | }, keyof import("react-native").TextProps | keyof React.RefAttributes<import("react-native").Text>> & {
|
86 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
87 | }, any, any>>) | (Pick<Animated.AnimatedProps<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>> & {
|
88 | style?: StyleProp<TextStyle>;
|
89 | theme: ReactNativePaper.Theme;
|
90 | }, keyof import("react-native").TextProps | keyof React.RefAttributes<import("react-native").Text>> & {
|
91 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
92 | } & {
|
93 | children?: React.ReactNode;
|
94 | }), "padding">, "type"> & {
|
95 | |
96 |
|
97 |
|
98 | type: "error" | "info";
|
99 | |
100 |
|
101 |
|
102 | visible?: boolean | undefined;
|
103 | |
104 |
|
105 |
|
106 | padding?: "normal" | "none" | undefined;
|
107 | |
108 |
|
109 |
|
110 | children: React.ReactNode;
|
111 | style?: StyleProp<TextStyle>;
|
112 | |
113 |
|
114 |
|
115 | theme: ReactNativePaper.Theme;
|
116 | |
117 |
|
118 |
|
119 | testID?: string | undefined;
|
120 | }> & (({ style, type, visible, theme, onLayout, padding, ...rest }: Props) => JSX.Element), {}>;
|
121 | export default _default;
|
122 |
|
\ | No newline at end of file |