Skip to content

Commit

Permalink
Update index.d.ts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaosong Gao committed Dec 29, 2018
1 parent 86d0af5 commit e8a91a3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ export interface PickListProps {
rightClick?: (index?: number) => void;
renderRow?: (treeNode: Tree, props: PickListProps) => React.ReactElement;
renderHeader?: (selectedItems: Tree[]) => React.ReactElement;
showNaviBar?: boolean;
showBottomView?: boolean;
showSearchView?: boolean;
showTitleLine?: boolean;
showAllCell?: boolean;
showCount?: boolean;
numberOfTextLines?: number;
directBackWhenSingle?: boolean;
selectedIds?: Array;
selectable?: (treeNode: Tree) => boolean;
Expand All @@ -49,9 +51,15 @@ export interface PickListProps {
};
}

export class InnerPickList extends React.PureComponent<PickListProps, PickListState>;
export class InnerPickList extends React.PureComponent<PickListProps, PickListState> {
getSelectedItems: () => Tree[];
backToPreviousPage: () => boolean;
};

export default class PickList extends React.PureComponent<PickListProps, PickListState>;
export default class PickList extends React.PureComponent<PickListProps, PickListState> {
getSelectedItems: () => Tree[];
backToPreviousPage: () => boolean;
};

export type PickListRowFunc = (treeNode: Tree, props: PickListProps) => React.ReactElement;

Expand Down

0 comments on commit e8a91a3

Please sign in to comment.