@antadesign/anta
    Preparing search index...

    Function MenuSeparatorUnreviewed

    • MenuSeparator — a divider between groups of MenuItems, or a small caption row.

      Empty, it's a thin line. Given text, it becomes a muted caption (a group name or a status message) and turns into an aria-live="polite" region — this is what Select's renderEmpty uses for its "no results" / "loading" messages.

      Parameters

      Returns any

      <MenuItem label="Edit" />
      <MenuSeparator />
      <MenuItem tone="critical" label="Delete" />

      <MenuSeparator>No results</MenuSeparator>