chowa
Version:
UI component library based on React
28 lines (27 loc) • 909 B
TypeScript
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as React from 'react';
import { Options, Option } from './cascader';
export interface CascaderListProps {
options: Options;
selectedOptions: Options;
onSelect: (option: Option, tier: number) => void;
activeOption: Option;
onKeyDown: (e: React.KeyboardEvent) => void;
onOptionMouseEnter: (option: Option) => void;
onOptionMouseLeave: () => void;
}
declare class CascaderList extends React.PureComponent<CascaderListProps, any> {
private wrapperEle;
componentDidUpdate(preProps: CascaderListProps): void;
private computedActiveOptionInVisible;
private renderListItem;
render(): JSX.Element;
}
export default CascaderList;