chowa
Version:
UI component library based on React
25 lines (24 loc) • 805 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 declare type OptionTitles = string[];
export interface CascaderCardProps {
options: Options;
optionTitles: OptionTitles;
optionsTier: number;
selectedOptions: Options;
onSelect: (option: Option, tier: number) => void;
activeOption: Option;
onKeyDown: (e: React.KeyboardEvent) => void;
onOptionMouseEnter: (option: Option) => void;
onOptionMouseLeave: () => void;
}
declare const CascaderCard: React.SFC<CascaderCardProps>;
export default CascaderCard;