Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anishmprasad/react-placeholder

Typing animation for react input placeholder
https://github.com/anishmprasad/react-placeholder

Last synced: 7 days ago
JSON representation

Typing animation for react input placeholder

Awesome Lists containing this project

README

        

# react-placeholder
dynamic input placeholder component for React.js

Getting started
---------------

If you're developing using npm and CommonJS modules:
```
npm i react-placeholder
```
```jsx
import reactplaceholder from 'react-placeholder';

reactplaceholder({
el: ReactDOM.findDOMNode(this.refs.input),
sentences: ['study physics', 'study chemistry', 'study mathematics', 'study biology'],
options: {
letterDelay: 100,
loop: true,
startOnFocus: false
}
})

```

Don't see your prop? explaining your use case, and I will add it.

Packages Needed
---------------
* prop-types : ^15.5.4
* react : ^15.4.2
* react-dom : ^15.4.2

Testing
-------
on development

Issues
------
Please [file an issue](https://github.com/Anishmprasad/react-placeholder/issues) if you find a bug, or need help.

License
-------
The MIT License (MIT)
Copyright (c) 2018 Anish M Prasad