1 | import React from 'react';
|
2 | import { ListItemProps } from './ListItemBase';
|
3 | import { IconNode } from '../icons/Icon';
|
4 | export declare type ListItemAccordionProps = ListItemProps & {
|
5 | isExpanded?: boolean;
|
6 | icon?: IconNode;
|
7 | expandIcon?: IconNode;
|
8 | content?: React.ReactNode;
|
9 | noRotation?: boolean;
|
10 | noIcon?: boolean;
|
11 | animation?: {
|
12 | type?: 'timing' | 'spring';
|
13 | duration?: number;
|
14 | } | boolean;
|
15 | };
|
16 | declare const _default: React.FunctionComponent<Pick<import("react-native").TouchableHighlightProps & {
|
17 | containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
18 | disabledStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
19 | topDivider?: boolean;
|
20 | bottomDivider?: boolean;
|
21 | pad?: number;
|
22 | Component?: typeof React.Component;
|
23 | ViewComponent?: typeof React.Component;
|
24 | linearGradientProps?: any;
|
25 | children?: any;
|
26 | } & {
|
27 | isExpanded?: boolean;
|
28 | icon?: IconNode;
|
29 | expandIcon?: IconNode;
|
30 | content?: React.ReactNode;
|
31 | noRotation?: boolean;
|
32 | noIcon?: boolean;
|
33 | animation?: boolean | {
|
34 | type?: "spring" | "timing";
|
35 | duration?: number;
|
36 | };
|
37 | } & Partial<import("../config").ThemeProps<ListItemAccordionProps>>, "style" | "onLayout" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "disabled" | "onPress" | "onLongPress" | "activeOpacity" | "onHideUnderlay" | "onShowUnderlay" | "underlayColor" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "hitSlop" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "hasTVPreferredFocus" | "tvParallaxProperties" | "touchSoundDisabled" | "Component" | "containerStyle" | "disabledStyle" | "children" | "icon" | "linearGradientProps" | "ViewComponent" | "pad" | "topDivider" | "bottomDivider" | "isExpanded" | "expandIcon" | "content" | "noRotation" | "noIcon" | "animation">> | React.ForwardRefExoticComponent<import("react-native").TouchableHighlightProps & {
|
38 | containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
39 | disabledStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
40 | topDivider?: boolean;
|
41 | bottomDivider?: boolean;
|
42 | pad?: number;
|
43 | Component?: typeof React.Component;
|
44 | ViewComponent?: typeof React.Component;
|
45 | linearGradientProps?: any;
|
46 | children?: any;
|
47 | } & {
|
48 | isExpanded?: boolean;
|
49 | icon?: IconNode;
|
50 | expandIcon?: IconNode;
|
51 | content?: React.ReactNode;
|
52 | noRotation?: boolean;
|
53 | noIcon?: boolean;
|
54 | animation?: boolean | {
|
55 | type?: "spring" | "timing";
|
56 | duration?: number;
|
57 | };
|
58 | } & Partial<import("../config").ThemeProps<ListItemAccordionProps>>>;
|
59 | export default _default;
|