How to use the @pluralsight/ps-design-system-icon.CaretRightIcon.sizes function in @pluralsight/ps-design-system-icon

To help you get started, we’ve selected a few @pluralsight/ps-design-system-icon 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 pluralsight / design-system / packages / site / pages / components / form.js View on Github external
const Comp = props => (
  <div>
    <div>
      
        <h3>{props.title}</h3>
      
      <div>
        <span>{props.desc}</span>
        <span>
          Docs
          
        </span>
      </div>
    </div>
    <div>{props.children}</div>
    <style>{`
      .comp {
        padding-bottom: ${core.layout.spacingLarge};
        border-bottom: 1px solid ${core.colors.gray02};
        margin-bottom: ${core.layout.spacingXLarge};
      }
      .label {
        margin-bottom: ${core.layout.spacingLarge};
      }
      .desc {
        display: inline-block;
        margin-right: ${core.layout.spacingXSmall};</style></div>