@wordpress/components
Version:
UI components for WordPress.
37 lines (33 loc) • 598 B
text/typescript
export type SizeRangeDefault =
| 'xLarge'
| 'large'
| 'medium'
| 'small'
| 'xSmall';
export type SizeRangeReduced = 'large' | 'medium' | 'small';
export 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 type PopperProps = {
/**
* Position of the popover element.
*
* @default 'auto'
*
* @see https://popper.js.org/docs/v1/#popperplacements--codeenumcode
*/
placement?: PopperPlacement;
};