1 | import * as React from 'react';
|
2 | import { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
3 | import { IconSource } from '../Icon';
|
4 | declare type Props = {
|
5 | |
6 |
|
7 |
|
8 | title: React.ReactNode;
|
9 | |
10 |
|
11 |
|
12 | icon?: IconSource;
|
13 | |
14 |
|
15 |
|
16 | disabled?: boolean;
|
17 | |
18 |
|
19 |
|
20 | onPress?: () => void;
|
21 | |
22 |
|
23 |
|
24 | style?: StyleProp<ViewStyle>;
|
25 | contentStyle?: StyleProp<ViewStyle>;
|
26 | titleStyle?: StyleProp<TextStyle>;
|
27 | |
28 |
|
29 |
|
30 | theme: ReactNativePaper.Theme;
|
31 | |
32 |
|
33 |
|
34 | testID?: string;
|
35 | |
36 |
|
37 |
|
38 | accessibilityLabel?: string;
|
39 | };
|
40 | declare const _default: React.ComponentType<Pick<Props, "style" | "title" | "onPress" | "testID" | "accessibilityLabel" | "icon" | "disabled" | "titleStyle" | "contentStyle"> & {
|
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<Props> & {
|
43 | ({ icon, title, disabled, onPress, style, contentStyle, testID, titleStyle, accessibilityLabel, theme, }: Props): JSX.Element;
|
44 | displayName: string;
|
45 | }, {}>;
|
46 | export default _default;
|