Remove unused configuration from Menu
This commit is contained in:
parent
01059aa2f7
commit
c4bf4586ac
2 changed files with 0 additions and 3 deletions
|
@ -214,7 +214,6 @@ export function Editor(props: IEditorProps): JSX.Element {
|
|||
/>
|
||||
<Menu
|
||||
getListener={() => editorRef.current}
|
||||
configuration={configuration}
|
||||
actions={menuActions}
|
||||
className="z-30 transition-opacity rounded bg-slate-200 drop-shadow-xl"
|
||||
/>
|
||||
|
|
|
@ -2,13 +2,11 @@ import useSize from '@react-hook/size';
|
|||
import * as React from 'react';
|
||||
import { IPoint } from '../../Interfaces/IPoint';
|
||||
import { MenuItem } from './MenuItem';
|
||||
import { IConfiguration } from '../../Interfaces/IConfiguration';
|
||||
|
||||
interface IMenuProps {
|
||||
getListener: () => HTMLElement | null
|
||||
actions: Map<string, IMenuAction[]>
|
||||
className?: string
|
||||
configuration: IConfiguration
|
||||
}
|
||||
|
||||
export interface IMenuAction {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue