https://github.com/marksteve/react-components
A collection of React components
https://github.com/marksteve/react-components
Last synced: about 1 year ago
JSON representation
A collection of React components
- Host: GitHub
- URL: https://github.com/marksteve/react-components
- Owner: marksteve
- Created: 2015-01-13T04:53:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-29T05:06:07.000Z (almost 11 years ago)
- Last Synced: 2025-01-30T14:24:13.812Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://marksteve.com/react-components
- Size: 586 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-components
A collection of React components
## Install
```bash
npm install marksteve/react-components
```
## Usage
```javascript
var rc = require('react-components');
```
## Toggable
[Demo](https://marksteve.com/react-components#toggable)
Toggle through the `toggled` property
```html
```
Define animation using the `animationIn/Out` properties.
It uses the [Velocity](velocityjs.org) library for animation
so you can do something like this:
```html
```
You can also specify options for the animation as properties.
```html
```
### Default properties
```json
{
"className": null,
"animationIn": "transition.fadeIn",
"animationOut": "transition.fadeOut",
"duration": 250
}
```
## Suffixed Input
[Demo](https://marksteve.com/react-components#suffixed-input)
```html
```
## License
[MIT License](http://marksteve.mit-license.org)