项目作者: williamboman

项目描述 :
Get more out of your placeholders. Animates input placeholders to make it look like they are being typed in realtime - https://npmjs.com/react-input-hints
高级语言: JavaScript
项目地址: git://github.com/williamboman/react-input-hints.git
创建时间: 2017-02-24T21:29:44Z
项目社区:https://github.com/williamboman/react-input-hints

开源协议:

下载


react-input-hints

Animates input placeholders to make it look like they are being typed in realtime.

Build Status

Usage

  1. <InputHints
  2. placeholders={[
  3. 'Enter your username here...',
  4. 'Usernames can be 7-18 characters long.',
  5. ]} />
  6. )

Installation

  1. $ npm install react-input-hints
  2. # or
  3. $ yarn add react-input-hints

Props

See react-typewriting for more controls.

placeholders | Array<string> | required

The placeholders to print out, in order of appearance.

Tips

Use the selector:placeholder CSS pseudo-class to style your placeholders!

License

Licensed under the MIT license.

Authors

William Boman william@redwill.se