@tangisha/simple-calculator
v1.1.3
Published
give two number input to input box and do any operations
Downloads
4
Readme
simple-calculator
input two number and do simple calculation of "+",'-','/','*'
Install
npm i @tangisha/simple-calculator
Important point
Install bootstrap and import it in your root file so that its UI looks better
Usage
import React from 'react'
import 'bootstrap/dist/css/bootstrap.min.css';
import {Maths} from '@tangisha/simple-calculator'
const App = () => {
return <Maths table/>
}
Its Functionality
There is a table will be formed everytime you calculate so you can use that expression in future. If you want that table, just pass return <Maths table/>
as a props and if you dont want then you can write simple return <Maths/>
.
The table will be formed after clicking on "=" primary button which will render in the browser
License
MIT © vagisha-agrawal