@vpilipenko/input

Input component

Usage no npm install needed!

<script type="module">
  import vpilipenkoInput from 'https://cdn.skypack.dev/@vpilipenko/input';
</script>

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