UNPKG

@jdcfe/yep-react

Version:

一套移动端的React组件库

29 lines (28 loc) 798 B
import * as React from 'react'; export interface AutoCompleteProps { prefixCls?: string; className?: string; source: []; matchedStyle: string; value: string; defaultValue?: string; onChange?: (value: any) => void; size?: string; disabled?: boolean; isOpen?: boolean; clear?: boolean; placeholder?: string; } declare class AutoComplete extends React.PureComponent<AutoCompleteProps, any> { lastValue: any; constructor(props: AutoCompleteProps); static defaultProps: { prefixCls: string; }; componentWillReceiveProps(nextProps: AutoCompleteProps): void; handleInput: (value: any) => void; handleSelect(value: any): void; handleKeyDown: (e: any) => void; render(): JSX.Element; } export default AutoComplete;