1 | import * as React from 'react';
|
2 | import { View, ViewStyle, StyleProp } from 'react-native';
|
3 | declare type Props = Partial<React.ComponentPropsWithRef<typeof View>> & {
|
4 | |
5 |
|
6 |
|
7 | dark?: boolean;
|
8 | |
9 |
|
10 |
|
11 | children: React.ReactNode;
|
12 | |
13 |
|
14 |
|
15 | theme: ReactNativePaper.Theme;
|
16 | style?: StyleProp<ViewStyle>;
|
17 | };
|
18 | export declare const DEFAULT_APPBAR_HEIGHT = 56;
|
19 | declare const _default: React.ComponentType<Pick<Partial<import("react-native").ViewProps & React.RefAttributes<View>> & {
|
20 | |
21 |
|
22 |
|
23 | dark?: boolean | undefined;
|
24 | |
25 |
|
26 |
|
27 | children: React.ReactNode;
|
28 | |
29 |
|
30 |
|
31 | theme: ReactNativePaper.Theme;
|
32 | style?: StyleProp<ViewStyle>;
|
33 | }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes<View>> & {
|
34 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
35 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Partial<import("react-native").ViewProps & React.RefAttributes<View>> & {
|
36 | |
37 |
|
38 |
|
39 | dark?: boolean | undefined;
|
40 | |
41 |
|
42 |
|
43 | children: React.ReactNode;
|
44 | |
45 |
|
46 |
|
47 | theme: ReactNativePaper.Theme;
|
48 | style?: StyleProp<ViewStyle>;
|
49 | }> & (({ children, dark, style, theme, ...rest }: Props) => JSX.Element), {}>;
|
50 | export default _default;
|
51 | declare const AppbarWithTheme: React.ComponentType<Pick<Partial<import("react-native").ViewProps & React.RefAttributes<View>> & {
|
52 | /**
|
53 | * Whether the background color is a dark color. A dark appbar will render light text and vice-versa.
|
54 | */
|
55 | dark?: boolean | undefined;
|
56 | /**
|
57 | * Content of the `Appbar`.
|
58 | */
|
59 | children: React.ReactNode;
|
60 | /**
|
61 | * @optional
|
62 | */
|
63 | theme: ReactNativePaper.Theme;
|
64 | style?: StyleProp<ViewStyle>;
|
65 | }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes<View>> & {
|
66 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
67 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Partial<import("react-native").ViewProps & React.RefAttributes<View>> & {
|
68 | /**
|
69 | * Whether the background color is a dark color. A dark appbar will render light text and vice-versa.
|
70 | */
|
71 | dark?: boolean | undefined;
|
72 | /**
|
73 | * Content of the `Appbar`.
|
74 | */
|
75 | children: React.ReactNode;
|
76 | /**
|
77 | * @optional
|
78 | */
|
79 | theme: ReactNativePaper.Theme;
|
80 | style?: StyleProp<ViewStyle>;
|
81 | }> & (({ children, dark, style, theme, ...rest }: Props) => JSX.Element), {}>;
|
82 | export { AppbarWithTheme as Appbar };
|
83 |
|
\ | No newline at end of file |