@apass/input

2.0.4 • Public • Published

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=''
/>

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @apass/input

    Weekly Downloads

    2

    Version

    2.0.4

    License

    MIT

    Unpacked Size

    19.6 kB

    Total Files

    5

    Last publish

    Collaborators

    • paterm
    • vpilipenko