How to use the @carbon/icons/lib/chevron--down/20 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 / side-nav-menu.ts View on Github external
_handleSlotChangeTitleIcon: handleSlotChangeTitleIcon,
    } = this;
    return html`
      <button class="${prefix}--side-nav__submenu" aria-expanded="${String(Boolean(expanded &amp;&amp; !forceCollapsed))}" aria-haspopup="true" type="button">
        <div class="${prefix}--side-nav__icon" hidden="" id="title-icon-container">
          
        </div>
        <span class="${prefix}--side-nav__submenu-title">${title}</span>
        <div class="${prefix}--side-nav__icon ${prefix}--side-nav__icon--small ${prefix}--side-nav__submenu-chevron">
          ${ChevronDown20()}
        </div>
      </button>
      <ul role="menu" class="${prefix}--side-nav__menu">
        
      </ul>
    `;
  }