UNPKG

2.33 kBTypeScriptView Raw
1import * as React from 'react';
2import { Animated, View, StyleProp, ViewStyle } from 'react-native';
3declare type Props = React.ComponentPropsWithRef<typeof View> & {
4 /**
5 * Content of the `Surface`.
6 */
7 children: React.ReactNode;
8 style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
9 /**
10 * @optional
11 */
12 theme: ReactNativePaper.Theme;
13};
14declare const _default: React.ComponentType<Pick<import("react-native").ViewProps & React.RefAttributes<View> & {
15 /**
16 * Content of the `Surface`.
17 */
18 children: React.ReactNode;
19 style?: false | import("react-native").RegisteredStyle<ViewStyle> | Animated.Value | Animated.AnimatedInterpolation | Animated.WithAnimatedObject<ViewStyle> | Animated.WithAnimatedArray<ViewStyle | import("react-native").Falsy | import("react-native").RegisteredStyle<ViewStyle> | import("react-native").RecursiveArray<ViewStyle | import("react-native").Falsy | import("react-native").RegisteredStyle<ViewStyle>> | readonly (ViewStyle | import("react-native").Falsy | import("react-native").RegisteredStyle<ViewStyle>)[]> | null | undefined;
20 /**
21 * @optional
22 */
23 theme: ReactNativePaper.Theme;
24}, keyof import("react-native").ViewProps | keyof React.RefAttributes<View>> & {
25 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
26}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("react-native").ViewProps & React.RefAttributes<View> & {
27 /**
28 * Content of the `Surface`.
29 */
30 children: React.ReactNode;
31 style?: false | import("react-native").RegisteredStyle<ViewStyle> | Animated.Value | Animated.AnimatedInterpolation | Animated.WithAnimatedObject<ViewStyle> | Animated.WithAnimatedArray<ViewStyle | import("react-native").Falsy | import("react-native").RegisteredStyle<ViewStyle> | import("react-native").RecursiveArray<ViewStyle | import("react-native").Falsy | import("react-native").RegisteredStyle<ViewStyle>> | readonly (ViewStyle | import("react-native").Falsy | import("react-native").RegisteredStyle<ViewStyle>)[]> | null | undefined;
32 /**
33 * @optional
34 */
35 theme: ReactNativePaper.Theme;
36}> & (({ style, theme, ...rest }: Props) => JSX.Element), {}>;
37export default _default;
38
\No newline at end of file