I imported the Slider:
import Slider from '@material-ui/lab/Slider';
and have returned in the render.
The code is not getting compiled and is throwing an error:
Module not found: Error:
Can't resolve '@material-ui/lab/Slider' in {path}
.
Could anyone help me with this? Thanks.