1 | import * as React from 'react';
|
2 | import { View, ViewStyle, StyleProp, TextStyle } from 'react-native';
|
3 | declare type Props = React.ComponentPropsWithRef<typeof View> & {
|
4 | |
5 |
|
6 |
|
7 | title?: string;
|
8 | |
9 |
|
10 |
|
11 | children: React.ReactNode;
|
12 | |
13 |
|
14 |
|
15 | theme: ReactNativePaper.Theme;
|
16 | |
17 |
|
18 |
|
19 | titleStyle?: StyleProp<TextStyle>;
|
20 | style?: StyleProp<ViewStyle>;
|
21 | };
|
22 | declare const _default: React.ComponentType<Pick<import("react-native").ViewProps & React.RefAttributes<View> & {
|
23 | |
24 |
|
25 |
|
26 | title?: string | undefined;
|
27 | |
28 |
|
29 |
|
30 | children: React.ReactNode;
|
31 | |
32 |
|
33 |
|
34 | theme: ReactNativePaper.Theme;
|
35 | |
36 |
|
37 |
|
38 | titleStyle?: StyleProp<TextStyle>;
|
39 | style?: StyleProp<ViewStyle>;
|
40 | }, "title" | keyof import("react-native").ViewProps | keyof React.RefAttributes<View> | "titleStyle"> & {
|
41 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
42 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("react-native").ViewProps & React.RefAttributes<View> & {
|
43 | |
44 |
|
45 |
|
46 | title?: string | undefined;
|
47 | |
48 |
|
49 |
|
50 | children: React.ReactNode;
|
51 | |
52 |
|
53 |
|
54 | theme: ReactNativePaper.Theme;
|
55 | |
56 |
|
57 |
|
58 | titleStyle?: StyleProp<TextStyle>;
|
59 | style?: StyleProp<ViewStyle>;
|
60 | }> & {
|
61 | ({ children, title, titleStyle, style, ...rest }: Props): JSX.Element;
|
62 | displayName: string;
|
63 | }, {}>;
|
64 | export default _default;
|