UNPKG

tweak-tools

Version:

Tweak your React projects until awesomeness

7 lines (5 loc) 363 B
import type { InputWithSettings, TweakInputProps } from '../../types' export type StringSettings = { editable?: boolean; rows?: boolean | number } export type InternalStringSettings = { editable: boolean; rows: number } export type StringInput = InputWithSettings<string, StringSettings> export type StringProps = TweakInputProps<string, InternalStringSettings>