Updated type name

refs https://github.com/TryGhost/Team/issues/3351
This commit is contained in:
Djordje Vlaisavljevic 2023-06-01 17:39:20 +01:00
parent 81c57fd724
commit e8d2ff0e98

View File

@ -6,12 +6,12 @@ export type MenuItem = {
label: string;
}
type PositionOptions = 'left' | 'right';
type MenuPosition = 'left' | 'right';
interface MenuProps {
// trigger?: React.ReactNode;
items: MenuItem[];
position?: PositionOptions;
position?: MenuPosition;
className?: string;
}