0.0.7 • Published 2 years ago

react-thermo v0.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
2 years ago

Welcome to react-thermo 👋

Version License: MIT

React Thermometer Component for React Apps

React Thermo

Install

yarn add react-thermo

Usage

import Thermo from 'react-thermo'

  <Thermo
    min={-50}
    max={50}
    temperature={25}
  >

Props

PropsTypeDefaultDescription
temperaturenumber-temperature value (required)
minnumber-50base temperature
maxnumber50maximum temperature
zonesnumber[][0, 25]Define medium and high temperature zones. lowTemperatureColor property will be used below the first value, mediumTemperatureColor will be used above the first value and highTemperatureColor will be used above the second value from zones array
glassColorstring#bdc3c7set thermometer glass color
mercuryPipeColorstring#ecf0f1set mercuty pipe color
lowTemperatureColorstring#3498dbset mercury color from low temperature
mediumTemperatureColorstring#e67e22set mercury color from medium temperature
highTemperatureColorstring#c0392bset mercury color from high temperature
highlightColorstring#fffset glass highlight color

Author

👤 Michał Winiarski michal.winiarski@devbrains.pl

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

0.0.7

2 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago