https://github.com/ammoradi/react-pulsator
react lightweight & customizable pulsator component
https://github.com/ammoradi/react-pulsator
Last synced: 10 months ago
JSON representation
react lightweight & customizable pulsator component
- Host: GitHub
- URL: https://github.com/ammoradi/react-pulsator
- Owner: ammoradi
- License: mit
- Created: 2020-11-02T21:51:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T22:31:34.000Z (about 5 years ago)
- Last Synced: 2025-03-18T13:19:33.303Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-pulsator
react customizable pulsator component
## demo
see **[Demo](https://codesandbox.io/s/react-pulsator-demo-dpysp)** at **[https://codesandbox.io/s/react-pulsator-demo-dpysp](https://codesandbox.io/s/react-pulsator-demo-dpysp)**
## usage
* add package using `yarn`:
```
yarn add react-pulsator
```
* use the render-props component:
```js
import React from 'react'
import Pulsator from 'react-pulsator'
export default function App() {
return (
Hello World
)
}
```
* available props:
| prop key | type |
| :---: | :-: |
| width | string |
| height | string |
| innerColor | string |
| outerColor | string |
| className | string |