tweak-tools
Version:
Tweak your React projects until awesomeness
13 lines (12 loc) • 422 B
TypeScript
import type { TweakInputProps } from '../../types';
export declare type SelectSettings<U = unknown> = {
options: Record<string, U> | U[];
};
export declare type InternalSelectSettings = {
keys: string[];
values: any[];
};
export declare type SelectInput<P = unknown, U = unknown> = {
value?: P;
} & SelectSettings<U>;
export declare type SelectProps = TweakInputProps<any, InternalSelectSettings, number>;