1 | import * as React from "react";
|
2 | import { Boundary } from "../../common/boundary";
|
3 | import { Props } from "../../common/props";
|
4 | import { MenuItemProps } from "../menu/menuItem";
|
5 | import { IPopoverProps } from "../popover/popover";
|
6 | export declare type CollapsibleListProps = ICollapsibleListProps;
|
7 |
|
8 | export interface ICollapsibleListProps extends Props {
|
9 | |
10 |
|
11 |
|
12 | dropdownTarget: JSX.Element;
|
13 | |
14 |
|
15 |
|
16 | dropdownProps?: IPopoverProps;
|
17 | |
18 |
|
19 |
|
20 |
|
21 | visibleItemRenderer: (props: MenuItemProps, index: number) => JSX.Element;
|
22 | |
23 |
|
24 |
|
25 |
|
26 |
|
27 | collapseFrom?: Boundary;
|
28 | |
29 |
|
30 |
|
31 | visibleItemClassName?: string;
|
32 | |
33 |
|
34 |
|
35 |
|
36 |
|
37 | visibleItemCount?: number;
|
38 | }
|
39 |
|
40 | export declare class CollapsibleList extends React.Component<CollapsibleListProps> {
|
41 | static displayName: string;
|
42 | static defaultProps: Partial<CollapsibleListProps>;
|
43 | render(): JSX.Element;
|
44 | private partitionChildren;
|
45 | }
|