UNPKG

@chamn/engine

Version:
12 lines (11 loc) 497 B
import { InputCommonRef } from '../type'; declare const CSS_BORDER_KEY_LIST: readonly ["border", "border-radius"]; type CSSBorderKeyType = typeof CSS_BORDER_KEY_LIST[number]; type Value = Record<CSSBorderKeyType, string>; export type BorderInputProps = { value?: Value; initialValue?: Value; onChange?: (newVal: Value) => void; }; export declare const BorderInput: import('react').ForwardRefExoticComponent<BorderInputProps & import('react').RefAttributes<InputCommonRef>>; export {};