New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

material-ui-slider

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material-ui-slider

slider fro Material-UI 1.0.0

  • 0.0.16
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
277
decreased by-46.21%
Maintainers
1
Weekly downloads
 
Created
Source

Slider for Material-UI 1.0.0

Installation

  //with yarn
  yarn add material-ui-slider
  //with npm 
  npm install material-ui-slider --save

Usage

Here's a quick example to get you started:

  import React from 'react';
  import ReactDOM from 'react-dom';
  import { Slider } from 'material-ui-slider';

  function App() {
    return (
      <Slider defaultValue={10}></Slider>
    );
  }

  ReactDOM.render(<App />, document.querySelector('#app'));

Prpos

nametypedefaultdescription
minnumber0min value in process bar.
maxnumber100max value in process bar.
defaultValuenumber/array[number,number]0/[0,100]default value, value must be between min and max.
rangeboolfalserange choose, "defaultValue" must be an array
scaleLengthnumber0scale choose, value "0" means "no scale", "defaultValue" must be a multiple of "scaleLength".
directionhorizontal/verticalhorizontal
colorstringcustom color for process bar, support HEX, RGB(RGBA), HSL
disabledboolfalse
onChangefuncCallback fired when the value is changed.
Signature:
function(value: number/array[number,number]) => void
onChangeCompletefuncCallback fired when the value is changed completely.
Signature:
function(value: number/array[number,number]) => void

LICENSE

MIT

Keywords

FAQs

Package last updated on 07 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc