UNPKG

@chamn/engine

Version:
11 lines (10 loc) 570 B
import { InputCommonRef } from '../type'; declare const keyList: readonly ["width", "height", "min-width", "max-width", "min-height", "max-height", "flex", "display", "flex-direction", "justify-content", "align-items", "flex-wrap"]; type Value = Record<typeof keyList[number], string>; export type DimensionInputProps = { value?: Value; initialValue?: Value; onChange?: (newVal: Value) => void; }; export declare const DimensionInput: import('react').ForwardRefExoticComponent<DimensionInputProps & import('react').RefAttributes<InputCommonRef>>; export {};