How to use the @carbon/icons/lib/caret--left/24 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 / pagination / pagination.ts View on Github external
return html`
      <div class="${prefix}--pagination__left">
        
        <div class="${prefix}-ce--pagination__divider"></div>
        <span class="${prefix}--pagination__text">${this._renderStatusText()}</span>
      </div>
      <div class="${prefix}-ce--pagination__divider"></div>
      <div class="${prefix}--pagination__right">
        
        <button title="${prevButtonText}" class="${prevButtonClasses}">
          ${CaretLeft24()}
        </button>
        <button title="${nextButtonText}" class="${nextButtonClasses}">
          ${CaretRight24()}
        </button>
      </div>
    `;
  }