@hydroperx/metrodesign
    Preparing search index...

    Function Indicator

    • A context-dependent indicator icon.

      Popover menus

      Currently used inside a PopoverMenu's Item, inside the third child tag, as in:

      <Item>
      <span></span>
      <Label>More</Label>
      <span><Indicator/></span>
      </Item>
      <PopoverMenu>
      ...
      </PopoverMenu>
      <Item>
      <span></span>
      <Label>Enable me (1)</Label>
      <span><Indicator state="checked"/></span>
      </Item>
      <Item>
      <span></span>
      <Label>Enable me (2)</Label>
      <span><Indicator state="none"/></span>
      </Item>
      <Item>
      <span></span>
      <Label>Option A</Label>
      <span><Indicator state="option"/></span>
      </Item>
      <Item>
      <span></span>
      <Label>Option B</Label>
      <span><Indicator state="none"/></span>
      </Item>

      Parameters

      • params: { size?: number; state?: IndicatorState }
        • Optionalsize?: number

          Indicator size.

        • Optionalstate?: IndicatorState

          Whether the indicator is checked, invisible ("none") or a popover menu indicator.

          "popoverMenu"
          

      Returns Element