How to use the @carbon/icons/lib/chevron--down function in @carbon/icons

To help you get started, we’ve selected a few @carbon/icons examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github carbon-design-system / carbon-custom-elements / src / components / ui-shell / header-menu.ts View on Github external
render() {
    const { expanded, triggerContent, menuLabel, _handleClick: handleClick, _handleKeydownTrigger: handleKeydownTrigger } = this;
    return html`
      <a aria-expanded="${String(Boolean(expanded))}" aria-haspopup="menu" class="${prefix}--header__menu-item ${prefix}--header__menu-title" tabindex="0" role="menuitem">
        ${triggerContent}${ChevronDownGlyph({ class: `${prefix}--header__menu-arrow` })}
      </a>
      <ul aria-label="${ifDefined(menuLabel)}" class="${prefix}--header__menu" role="menu">
        
      </ul>
    `;
  }