How to use the @pluralsight/ps-design-system-button.iconAligns function in @pluralsight/ps-design-system-button

To help you get started, we’ve selected a few @pluralsight/ps-design-system-button 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 / button.js View on Github external
'href',
            'string',
            null,
            null,
            'url of resource (renders as anchor)'
          ]),
          PropTypes.row([
            'icon',
            <code>*Icon</code>,
            null,
            null,
            'Icon component'
          ]),
          PropTypes.row([
            'iconAlign',
            PropTypes.union(Button.iconAligns),
            null,
            <code>left</code>,
            <span>
              horizontal icon placement (from <code>Button.iconAligns</code>)
            </span>
          ]),
          PropTypes.row([
            'loading',
            'boolean',
            null,
            <code>false</code>,
            'disables button and shows spinner'
          ]),
          PropTypes.row([
            'size',
            PropTypes.union(Button.sizes),

@pluralsight/ps-design-system-button

Design System component for button ui

Apache-2.0
Latest version published 2 years ago

Package Health Score

51 / 100
Full package analysis

Similar packages