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

To help you get started, we’ve selected a few @pluralsight/ps-design-system-textinput 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 / textinput.js View on Github external
'error',
            'boolean',
            null,
            <code>false</code>,
            'error state flag'
          ]),
          PropTypes.row([
            'icon',
            <code>*Icon</code>,
            null,
            null,
            'Icon component'
          ]),
          PropTypes.row([
            'iconAlign',
            PropTypes.union(TextInput.iconAligns),
            null,
            <code>left</code>,
            <span>
              horizontal icon placement (from <code>TextInput.iconAligns</code>)
            </span>
          ]),
          PropTypes.row([
            'label',
            'string',
            null,
            null,
            'identifying string for input'
          ]),
          PropTypes.row([
            'placeholder',
            'string',
github pluralsight / design-system / packages / typeahead / src / react / index.js View on Github external
&gt;
      
        }
        target={fieldRef}
      &gt;
        }
          onChange={handleInputChange}
          onFocus={handleInputFocus}
          ref={{ field: fieldRef, input: inputRef }}
          value={innerValue}
        /&gt;
      
    
  )
})

@pluralsight/ps-design-system-textinput

Design system components for text input

Apache-2.0
Latest version published 2 years ago

Package Health Score

48 / 100
Full package analysis

Similar packages