1 | import * as React from 'react';
|
2 | import { View, ViewStyle, StyleProp } from 'react-native';
|
3 | import { IconSource } from '../Icon';
|
4 | declare type Props = React.ComponentPropsWithRef<typeof View> & {
|
5 | |
6 |
|
7 |
|
8 | icon: IconSource;
|
9 | |
10 |
|
11 |
|
12 | size?: number;
|
13 | |
14 |
|
15 |
|
16 | color?: string;
|
17 | style?: StyleProp<ViewStyle>;
|
18 | |
19 |
|
20 |
|
21 | theme: ReactNativePaper.Theme;
|
22 | };
|
23 | declare const _default: (React.ComponentClass<Pick<Props, "ref" | "style" | "pointerEvents" | "color" | "size" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "key" | "hitSlop" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture"> & {
|
24 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
25 | }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
26 | ({ icon, size, style, theme, ...rest }: Props): JSX.Element;
|
27 | displayName: string;
|
28 | }) | (React.FunctionComponent<Props> & {
|
29 | ({ icon, size, style, theme, ...rest }: Props): JSX.Element;
|
30 | displayName: string;
|
31 | }), {}>) | (React.FunctionComponent<Pick<Props, "ref" | "style" | "pointerEvents" | "color" | "size" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "key" | "hitSlop" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture"> & {
|
32 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
33 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
34 | ({ icon, size, style, theme, ...rest }: Props): JSX.Element;
|
35 | displayName: string;
|
36 | }) | (React.FunctionComponent<Props> & {
|
37 | ({ icon, size, style, theme, ...rest }: Props): JSX.Element;
|
38 | displayName: string;
|
39 | }), {}>);
|
40 | export default _default;
|