Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (25 sloc) 785 Bytes

Slider

See the demo component here

Usage

Below, an example of using the SelectMenu component:

import { SelectMenu } from 'mdwrapper';

const Demo = () => (
  <SelectMenu
    label={'Hue'}
    data={['Red', 'Green', 'Blue']}
    icon={'brush'}
    onChange={e => console.log(e.target.value)} />
);

Props

List of all properties for the SelectMenu component:

Prop Type Default Description
data array [] Data
disabled boolean false Available State
helper string - Helper Text
icon string - Material Design Icon
label string - Label
onChange function void Change Trigger
outlined boolean false Outlined Style
You can’t perform that action at this time.