Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
Raw History Blame Contribute Delete
579 Bytes
import { Gridicon } from '@automattic/components';
import { PureComponent } from 'react';
import FormRange from '../';
export default class extends PureComponent {
static displayName = 'Ranges';
state = {
rangeValue: 24,
};
onChange = ( event ) => {
this.setState( {
rangeValue: event.target.value,
} );
};
render() {
return (
<FormRange
minContent={ <Gridicon icon="minus-small" /> }
maxContent={ <Gridicon icon="plus-small" /> }
max="100"
value={ this.state.rangeValue }
onChange={ this.onChange }
showValueLabel
/>
);
}
}