@antadesign/anta
    Preparing search index...

    Type Alias MenuItemCopyPropsUnreviewed

    MenuItemCopyProps: MenuItemCommonProps & MenuItemActionMode & {
        submenu?: never;
        selectionIndicator?: never;
        indeterminate?: never;
        indicator?: never;
        iconTrailing?: never;
    } & CopyTarget & {
        iconPlacement?: "leading"
        | "trailing"
        | "none";
        copiedLabel?: string;
    }

    Action-mode menu-item props plus a required copy target (a copying row must copy something). The action-mode props that don't fit a copy row are pinned to never: submenu (a copy row has no flyout) and the selection-indicator axis (selectionIndicator / indeterminate / indicator — a copy row isn't a checkable option). Pinning (not Omit) keeps the intersection expanding fully in the docs props table.

    Type Declaration

    • Optionalsubmenu?: never
    • OptionalselectionIndicator?: never
    • Optionalindeterminate?: never
    • Optionalindicator?: never
    • OptionaliconTrailing?: never
    • Optional UnreviewediconPlacement?: "leading" | "trailing" | "none"

      Where the copy glyph sits relative to the label — or 'none' to omit it. Without a glyph, a successful copy shows a confirmation label near the pointer and leaves the row unchanged.

      'leading'
      
    • Optional UnreviewedcopiedLabel?: string

      Text in the successful no-icon confirmation.

      Copied