-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathindex.d.ts
More file actions
19 lines (16 loc) · 718 Bytes
/
index.d.ts
File metadata and controls
19 lines (16 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
declare module "react-native-collapsible-list" {
import * as React from "react";
import * as ReactNative from "react-native";
export interface CollapsibleListProps extends ReactNative.ViewProps {
/** You can override the default `animationConfig` via this prop */
animationConfig?: ReactNative.LayoutAnimationConfig;
buttonContent?: React.ReactNode;
/** The possition of the button. Default value is `bottom` */
buttonPosition?: 'top' | 'bottom';
numberOfVisibleItems?: number;
onToggle?: (collapsed: boolean) => void;
wrapperStyle?: ReactNative.ViewStyle;
}
export class CollapsibleList extends React.Component<CollapsibleListProps> {}
export default CollapsibleList;
}