
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
material-ui-slider
Advanced tools
//with yarn
yarn add material-ui-slider
//with npm
npm install material-ui-slider --save
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'));
name | type | default | description |
---|---|---|---|
min | number | 0 | min value in process bar. |
max | number | 100 | max value in process bar. |
defaultValue | number/array[number,number] | 0/[0,100] | default value, value must be between min and max. |
value | number/array[number,number] | / | value in process bar. |
decimals | number | 0 | number of decimal places for value. |
range | bool | false | range choose, "defaultValue" must be an array |
scaleLength | number | 0 | scale choose, value "0" means "no scale", "defaultValue" must be a multiple of "scaleLength". |
direction | horizontal/vertical | horizontal | |
color | string | custom color for process bar, support HEX, RGB(RGBA), HSL | |
disabled | bool | false | |
onChange | func | Callback fired when the value is changed. Signature: function(value: number/array[number,number]) => void | |
onChangeComplete | func | Callback fired when the value is changed completely. Signature: function(value: number/array[number,number]) => void |
FAQs
slider fro Material-UI 1.0.0
The npm package material-ui-slider receives a total of 426 weekly downloads. As such, material-ui-slider popularity was classified as not popular.
We found that material-ui-slider demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.