tweak-tools
Version:
Tweak your React projects until awesomeness
12 lines (11 loc) • 417 B
TypeScript
import type { InputWithSettings, TweakInputProps } from '../../types';
export declare type StringSettings = {
editable?: boolean;
rows?: boolean | number;
};
export declare type InternalStringSettings = {
editable: boolean;
rows: number;
};
export declare type StringInput = InputWithSettings<string, StringSettings>;
export declare type StringProps = TweakInputProps<string, InternalStringSettings>;