Skip to content

Commit

Permalink
[EuiResizableContainer] Simplify ResizeTrigger type
Browse files Browse the repository at this point in the history
  • Loading branch information
davismcphee committed Sep 27, 2022
1 parent 5020fbe commit 941fad6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/resizable_container/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ export type PanelDirection = 'left' | 'right';

export type KeyMoveDirection = 'forward' | 'backward';

type ResizeTriggerTuple = ['pointer', 'key'];
export type ResizeTrigger = ResizeTriggerTuple[number];
export type ResizeTrigger = 'pointer' | 'key';

export interface EuiResizablePanelController {
id: string;
Expand Down

0 comments on commit 941fad6

Please sign in to comment.