@atlaskit/dropdown-menu
Version:
A dropdown menu displays a list of actions or options to a user.
11 lines (10 loc) • 368 B
TypeScript
export type NewSpacingMode = 'compact' | 'spacious';
export type SpacingMode = NewSpacingMode | 'cozy';
/**
* __SpacingContext__
*
* Allows the spacing mode to be provided once to `<DropdownMenu/>` and passed down automatically to menu items.
*
* @internal Do not use directly.
*/
export declare const NewSpacingContext: import('react').Context<NewSpacingMode>;