@episclera/multipack-with-react
v5.1.3
Published
An example of react multipack package
Downloads
15
Readme
Getting started
- Install:
npm i @episclera/multipack-with-react
import React from 'react'
import { Counter, useCounter } from '@episclera/multipack-with-react'
const App = () => {
const { count, increment, decrement } = useCounter(0)
return (
<Counter count={count} onDecrement={decrement} onIncrement={increment} />
)
}
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Or you can sponsor via Open Collective
Author
@episclera/multipack © Episclera, Released under the MIT License. Authored and maintained by Episclera with help from contributors (list).