Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@vpilipenko/input

vpilipenko13MIT0.2.8

Input component

readme

Input 🐖🐖🐖

Component of an input text field.

  import Input from 'AP/Input'

Usage example

<Input
  name='storyInput'
  size='m'
  placeholder='Плейсхолдер'
  prefix={
    <Icon size='24' fill='red'>
      <Alert />
    </Icon>
  }
  suffix={
    <Icon size='24' fill='red'>
      <Alert />
    </Icon>
  }
  hint='Подсказка'
  error='Ошибка'
  clear={true}
  clearValue=''
/>