UNPKG

rp-data-chart

Version:

Rabbitpre data-chart components lib

31 lines (30 loc) 764 B
import { Component } from 'react'; import './dropdown.less'; import "../../../assets/font/iconfont.less"; interface IProps { onSelect?: Function; outerSelect?: boolean; } declare type SelectType = { type: number; text: string; start?: string; end?: string; }; interface IState { isShow: boolean; group: SelectType[]; select: SelectType; } export default class Dropdown extends Component<IProps, IState> { state: IState; constructor(props: IProps); componentWillMount(): void; componentWillReceiveProps(nextProps: IProps): void; setTime(): void; onChangeDrop: () => void; onCloseDrop: () => void; onSelect(type: number): void; render(): JSX.Element; } export {};