1 | import * as React from 'react';
|
2 | import { StyleProp, ViewStyle } from 'react-native';
|
3 | import type { IconSource } from '../Icon';
|
4 | declare type Props = {
|
5 | |
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | actions: Array<{
|
19 | icon: IconSource;
|
20 | label?: string;
|
21 | color?: string;
|
22 | labelTextColor?: string;
|
23 | accessibilityLabel?: string;
|
24 | style?: StyleProp<ViewStyle>;
|
25 | labelStyle?: StyleProp<ViewStyle>;
|
26 | small?: boolean;
|
27 | onPress: () => void;
|
28 | testID?: string;
|
29 | }>;
|
30 | |
31 |
|
32 |
|
33 |
|
34 | icon: IconSource;
|
35 | |
36 |
|
37 |
|
38 | accessibilityLabel?: string;
|
39 | |
40 |
|
41 |
|
42 | color?: string;
|
43 | |
44 |
|
45 |
|
46 | backdropColor?: string;
|
47 | |
48 |
|
49 |
|
50 | onPress?: () => void;
|
51 | |
52 |
|
53 |
|
54 | open: boolean;
|
55 | |
56 |
|
57 |
|
58 |
|
59 | onStateChange: (state: {
|
60 | open: boolean;
|
61 | }) => void;
|
62 | |
63 |
|
64 |
|
65 | visible: boolean;
|
66 | |
67 |
|
68 |
|
69 |
|
70 | style?: StyleProp<ViewStyle>;
|
71 | |
72 |
|
73 |
|
74 | fabStyle?: StyleProp<ViewStyle>;
|
75 | |
76 |
|
77 |
|
78 | theme: ReactNativePaper.Theme;
|
79 | |
80 |
|
81 |
|
82 | testID?: string;
|
83 | };
|
84 | declare const _default: React.ComponentType<Pick<Props, "style" | "color" | "onPress" | "testID" | "accessibilityLabel" | "icon" | "visible" | "actions" | "open" | "fabStyle" | "onStateChange" | "backdropColor"> & {
|
85 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
86 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & {
|
87 | ({ actions, icon, open, onPress, accessibilityLabel, theme, style, fabStyle, visible, testID, onStateChange, color: colorProp, backdropColor, }: Props): JSX.Element;
|
88 | displayName: string;
|
89 | }, {}>;
|
90 | export default _default;
|
91 | declare const FABGroupWithTheme: React.ComponentType<Pick<Props, "style" | "color" | "onPress" | "testID" | "accessibilityLabel" | "icon" | "visible" | "actions" | "open" | "fabStyle" | "onStateChange" | "backdropColor"> & {
|
92 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
93 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & {
|
94 | ({ actions, icon, open, onPress, accessibilityLabel, theme, style, fabStyle, visible, testID, onStateChange, color: colorProp, backdropColor, }: Props): JSX.Element;
|
95 | displayName: string;
|
96 | }, {}>;
|
97 | export { FABGroupWithTheme as FABGroup };
|