diff --git a/src/constants.ts b/src/constants.ts index c6b7708..8c8bb53 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,4 +1,4 @@ -export const ResizeDriectionMap = { +export const ResizeDirectionMap = { R: 'left', L: 'right', T: 'bottom', diff --git a/src/utils/index.tsx b/src/utils/index.tsx index 734db84..59aa4db 100644 --- a/src/utils/index.tsx +++ b/src/utils/index.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { Resizable } from 're-resizable'; -import { ResizeDriectionMap as ResizeDirectionMap, PANEL_MANAGER_CACHE_SIZE } from '../constants'; +import { ResizeDirectionMap, PANEL_MANAGER_CACHE_SIZE } from '../constants'; import type { IPanelConfig, ISettings } from '../types'; import type { Size, ResizeCallback } from 're-resizable';