@mielo-ui/mielo-react-slider
v1.0.5
Published
Slider react component, part of Mielo UI. This module is wrapper around `react-range-slider-input`.
Downloads
64
Maintainers
Readme
Mielo React Slider
Slider react component, part of Mielo UI. This module is wrapper around react-range-slider-input
.
Quick install
Mielo is constantly in development! Try it out now:
NPM
npm install @mielo-ui/mielo @mielo-ui/mielo-react-slider
or
Yarn
npm install @mielo-ui/mielo @mielo-ui/mielo-react-slider
Import
After installation, you can import the CSS file into your project using this snippet:
@import '@mielo-ui/mielo/css/mielo.css'
And usage react components like
import { Slider } from "@mielo-ui/mielo-react-slider"
<Slider label="Success" accent="success" />
Browser Support
Mielo is compatible with recent versions of:
- Chrome
- Edge
- Firefox
- Opera
- Safari
Internet Explorer is not supported.
Documentation
Browse the online documentation here.
Development
For build library from source:
git clone https://github.com/mielo-ui/mielo-react-slider
cd mielo-react-slider
npm install # or "yarn"
npm run fmt # format & linting components
npm build # build module library with .d.ts