UNPKG

@chamn/engine

Version:
12 lines (11 loc) 578 B
import { InputCommonRef } from '../type'; declare const CSS_BACKGROUND_KEY_LIST: readonly ["background-color", "background-image", "background-repeat", "background-size"]; type CSSBackgroundKeyType = typeof CSS_BACKGROUND_KEY_LIST[number]; type Value = Record<CSSBackgroundKeyType, string>; export type BackgroundInputProps = { value?: Value; initialValue?: Value; onChange?: (newVal: Value) => void; }; export declare const BackgroundInput: import('react').ForwardRefExoticComponent<BackgroundInputProps & import('react').RefAttributes<InputCommonRef>>; export {};