import type { AlertRef } from '../../ui/Alert'; import type { ContextNameMenuRef } from '../types'; import type { InitMenuItemsType } from '../types'; export type BasicActionsProps = { /** * menu reference. */ menuRef: React.RefObject; /** * alert reference. */ alertRef: React.RefObject; /** * Registrar. If you need to customize menu items, you can implement this method and return the custom menu items based on the default menu items. */ onInit?: (initItems: InitMenuItemsType[]) => InitMenuItemsType[]; };