How to use the @instructure/ui-text-input.TextInput.propTypes function in @instructure/ui-text-input

To help you get started, we’ve selected a few @instructure/ui-text-input 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 instructure / instructure-ui / packages / ui-forms / src / DateInput / index.js View on Github external
render () {
    const ignoredProps = [
      'type',
      'messages',
      'defaultValue',
      'value'
    ]
    const textInputProps = pickProps(this.props, omitProps(TextInput.propTypes, {}, ignoredProps))
    const { onChange, onKeyDown, onClick, onBlur } = this.props // eslint-disable-line react/prop-types

    return (
      <span>
        
        </span>

@instructure/ui-text-input

A styled HTML text input component.

MIT
Latest version published 10 days ago

Package Health Score

84 / 100
Full package analysis

Popular @instructure/ui-text-input functions