UNPKG

@wordpress/components

Version:
28 lines 967 B
export declare type SizeRangeDefault = 'xLarge' | 'large' | 'medium' | 'small' | 'xSmall'; export declare type SizeRangeReduced = 'large' | 'medium' | 'small'; export declare type FormElementProps<V> = { /** * The default (initial) state to use if `value` is undefined. */ defaultValue?: V; /** * Determines if element is disabled. */ disabled?: boolean; /** * Label for the form element. */ label?: string; }; export declare type PopperPlacement = 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'; export declare type PopperProps = { /** * Position of the popover element. * * @default 'auto' * * @see https://popper.js.org/docs/v1/#popperplacements--codeenumcode */ placement?: PopperPlacement; }; //# sourceMappingURL=types.d.ts.map