chowa
Version:
UI component library based on React
16 lines (15 loc) • 827 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.
*/
/// <reference types="react" />
import { Option, OptionGroup, Options, Mode } from './auto-complete';
export declare function isOptionGroup(option: React.ReactText | Option | OptionGroup): boolean;
export declare function compileOptions(options: Options, mode: Mode, searchValue?: string): Options;
export declare function transformOptionsToRealValues(options: Options): React.ReactText[];
export declare function getNextValue(options: Options, activeValue: React.ReactText): React.ReactText;
export declare function getPreValue(options: Options, activeValue: React.ReactText): React.ReactText;