diff --git a/src/extensions/components/ActionMenuButton.vue b/src/extensions/components/ActionMenuButton.vue index c50d113..1e1274f 100644 --- a/src/extensions/components/ActionMenuButton.vue +++ b/src/extensions/components/ActionMenuButton.vue @@ -8,17 +8,6 @@ import ActionButton from './ActionButton.vue' import { getIcon, IconsOptions } from '@/constants/icons' import type { ButtonViewReturnComponentProps } from '@/type' -interface Props { - editor: Editor - disabled?: boolean - color?: string - maxHeight?: string | number - - icon?: keyof IconsOptions - tooltip?: string - items?: Item[] -} - const props = withDefaults(defineProps(), { disabled: false, color: undefined, @@ -60,6 +49,17 @@ export interface Item { divider?: boolean default?: boolean } + +interface Props { + editor: Editor + disabled?: boolean + color?: string + maxHeight?: string | number + + icon?: keyof IconsOptions + tooltip?: string + items?: Item[] +}