react-native-elements
Version:
React Native Elements & UI Toolkit
60 lines (59 loc) • 2.11 kB
TypeScript
import React from 'react';
import { ListItemProps } from './ListItemBase';
import { IconNode } from '../icons/Icon';
export declare type ListItemAccordionProps = ListItemProps & {
isExpanded?: boolean;
icon?: IconNode;
expandIcon?: IconNode;
content?: React.ReactNode;
noRotation?: boolean;
noIcon?: boolean;
animation?: {
type?: 'timing' | 'spring';
duration?: number;
} | boolean;
};
declare const _default: React.FunctionComponent<Omit<import("react-native").TouchableHighlightProps & {
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
disabledStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
topDivider?: boolean;
bottomDivider?: boolean;
pad?: number;
Component?: typeof React.Component;
ViewComponent?: typeof React.Component;
linearGradientProps?: any;
children?: any;
} & {
isExpanded?: boolean;
icon?: IconNode;
expandIcon?: IconNode;
content?: React.ReactNode;
noRotation?: boolean;
noIcon?: boolean;
animation?: boolean | {
type?: "spring" | "timing";
duration?: number;
};
} & Partial<import("../config").ThemeProps<ListItemAccordionProps>>, keyof import("../config").ThemeProps<T>>> | React.ForwardRefExoticComponent<import("react-native").TouchableHighlightProps & {
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
disabledStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
topDivider?: boolean;
bottomDivider?: boolean;
pad?: number;
Component?: typeof React.Component;
ViewComponent?: typeof React.Component;
linearGradientProps?: any;
children?: any;
} & {
isExpanded?: boolean;
icon?: IconNode;
expandIcon?: IconNode;
content?: React.ReactNode;
noRotation?: boolean;
noIcon?: boolean;
animation?: boolean | {
type?: "spring" | "timing";
duration?: number;
};
} & Partial<import("../config").ThemeProps<ListItemAccordionProps>>>;
export default _default;