Repository URL to install this package:
|
Version:
4.0.61 ▾
|
import { SelectProps, OptionProps, OptionState } from '../typings';
import { SelectableState } from 'src/state/SelectionState';
export declare function toClassList(props: SelectProps, state: SelectableState): string;
export declare function toOnChange(props: SelectProps): any;
export declare function toList(props: SelectProps | OptionProps): Array<SelectProps | OptionProps>;
export declare function toAccessibleAttributes(props: SelectProps, state: SelectableState): string;
export declare function toAttributes(props: SelectProps, state: SelectableState): {
onChange: any;
list: (OptionProps | SelectProps)[];
className: string;
passthroughProps: import("@skava/utils/dist/typings")._Without<SelectProps, unknown[]>;
};
export declare function defaultRenderEmpty(props: SelectProps, state: SelectableState): string;
export declare function toText(props: OptionProps, state?: OptionState): string;
declare const _default: {
toClassList: typeof toClassList;
toOnChange: typeof toOnChange;
toList: typeof toList;
toAccessibleAttributes: typeof toAccessibleAttributes;
toAttributes: typeof toAttributes;
defaultRenderEmpty: typeof defaultRenderEmpty;
};
export default _default;