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
|
<Menu
|
||||||
getListener={() => editorRef.current}
|
getListener={() => editorRef.current}
|
||||||
configuration={configuration}
|
|
||||||
actions={menuActions}
|
actions={menuActions}
|
||||||
className="z-30 transition-opacity rounded bg-slate-200 drop-shadow-xl"
|
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 * as React from 'react';
|
||||||
import { IPoint } from '../../Interfaces/IPoint';
|
import { IPoint } from '../../Interfaces/IPoint';
|
||||||
import { MenuItem } from './MenuItem';
|
import { MenuItem } from './MenuItem';
|
||||||
import { IConfiguration } from '../../Interfaces/IConfiguration';
|
|
||||||
|
|
||||||
interface IMenuProps {
|
interface IMenuProps {
|
||||||
getListener: () => HTMLElement | null
|
getListener: () => HTMLElement | null
|
||||||
actions: Map<string, IMenuAction[]>
|
actions: Map<string, IMenuAction[]>
|
||||||
className?: string
|
className?: string
|
||||||
configuration: IConfiguration
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IMenuAction {
|
export interface IMenuAction {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue