1 | import * as React from 'react';
|
2 | import { 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.ComponentClass<Pick<Props, "ref" | "style" | "children" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onLayout" | "onTextLayout" | "onPress" | "onLongPress" | "testID" | "nativeID" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "minimumFontScale" | "suppressHighlighting" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "type" | "padding" | "visible"> & {
|
33 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
34 | }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & (({ style, type, visible, theme, onLayout, padding, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<Props> & (({ style, type, visible, theme, onLayout, padding, ...rest }: Props) => JSX.Element)), {}>) | (React.FunctionComponent<Pick<Props, "ref" | "style" | "children" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onLayout" | "onTextLayout" | "onPress" | "onLongPress" | "testID" | "nativeID" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "minimumFontScale" | "suppressHighlighting" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "type" | "padding" | "visible"> & {
|
35 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
36 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & (({ style, type, visible, theme, onLayout, padding, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<Props> & (({ style, type, visible, theme, onLayout, padding, ...rest }: Props) => JSX.Element)), {}>);
|
37 | export default _default;
|
38 |
|
\ | No newline at end of file |