import { PropsWithChildren } from 'react'; import { FlowComponentProps } from '../../lib/componentFactory/flowComponent'; import * as Aria from "react-aria-components"; export interface MenuItemProps extends Omit, PropsWithChildren, FlowComponentProps { selectionVariant?: "control" | "navigation" | "switch"; /** * Shows the checkbox of a multiple-selection item as partially checked, * unless the item is selected. */ isIndeterminate?: boolean; /** Whether the button is in a pending state. */ isPending?: boolean; /** Whether the button is in a succeeded state. */ isSucceeded?: boolean; /** Whether the button is in a failed state. */ isFailed?: boolean; /** Disables button but keeps it focusable. */ "aria-disabled"?: boolean; /** Marks the menu item as referring to the currently active page. */ "aria-current"?: string; } /** @flr-generate all */ export declare const MenuItem: import('react').FunctionComponent>; export default MenuItem;