import { HTMLAnchorAttributes, HTMLAttributes, HTMLButtonAttributes } from 'svelte/elements'; import { Component, LiteralUnion } from '../../../internal'; import { DefaultProps, SvelteUIColor, SvelteUINumberSize } from '../../../styles'; export interface SharedMenuItemProps extends DefaultProps, HTMLAttributes { color?: SvelteUIColor; disabled?: boolean; icon?: Component | HTMLOrSVGElement; iconSize?: SvelteUINumberSize; iconProps?: Record; } export interface MenuItemPropsInternal extends SharedMenuItemProps { root?: LiteralUnion; } export type MenuItemProps = MenuItemPropsInternal & HTMLButtonAttributes & HTMLAnchorAttributes;