0.5.0 • Published 6 months ago

upower v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

upower

NPM version Build npm-typescriptLicense]github-license-url

It is simple React counter.

Live Demo

Installation:

npm install upower --save-dev

or

yarn add -D upower

Usage :

Add MyCounter to your component:

import React from 'react'
import ReactDOM from 'react-dom/client'
import { MyCounter } from 'upower'

const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)

root.render(
    <React.StrictMode>
        <div>
            <h2>Default counter</h2>
            <MyCounter />
        </div>
        <hr />
        <div>
            <h2>Counter with predefined value</h2>
            <MyCounter value={5} />
        </div>
    </React.StrictMode>,
)
0.5.0

6 months ago

0.4.0

6 months ago

0.3.0

6 months ago

0.2.0

7 months ago

0.1.0

7 months ago