diff --git a/frontend/src/types/tooltip.ts b/frontend/src/types/tooltip.ts index 1fffc4857..d940d3fcb 100644 --- a/frontend/src/types/tooltip.ts +++ b/frontend/src/types/tooltip.ts @@ -1,8 +1,6 @@ -export type TooltipPosition = - | 'top' - | 'left' - | 'right' - | 'bottom' +export type BasicPosition = 'top' | 'left' | 'right' | 'bottom'; + +export type CombinedPosition = | 'topLeft' | 'topRight' | 'bottomLeft' @@ -11,3 +9,5 @@ export type TooltipPosition = | 'leftBottom' | 'rightTop' | 'rightBottom'; + +export type TooltipPosition = BasicPosition | CombinedPosition;