1.1.3 • Published 2 years ago

@tangisha/simple-calculator v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

simple-calculator

input two number and do simple calculation of "+",'-','/','*'

NPM JavaScript Style Guide

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

1.1.3

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago