import React from 'react'; import Slider from '../../../Components/Slider'; const SliderPage: React.FC = () => { const defaultSlider = [ { header: 'Default slider', description: ( Use the DefaultSlider component for a simple slider ), color: 'blue', }, ]; const rangeSlider = [ { sliderType: 'RangeSlider', header: 'Range slider', description: ( Use the RangeSlider component for range sliders ), color: 'blue', }, ]; const sliderColors = [ { header: 'Range slider', description: ( Use the red color to change the slider style ), color: 'red', }, { header: 'Range slider', description: ( Use the pink color to change the slider style ), color: 'pink', }, { header: 'Range slider', description: ( Use the purple color to change the slider style ), color: 'purple', }, { header: 'Range slider', description: ( Use the indigo color to change the slider style ), color: 'indigo', }, { header: 'Range slider', description: ( Use the blue color to change the slider style ), color: 'blue', }, { header: 'Range slider', description: ( Use the light-blue color to change the slider style ), color: 'light-blue', }, { header: 'Range slider', description: ( Use the cyan color to change the slider style ), color: 'cyan', }, { header: 'Range slider', description: ( Use the teal color to change the slider style ), color: 'teal', }, { header: 'Range slider', description: ( Use the green color to change the slider style ), color: 'green', }, { header: 'Range slider', description: ( Use the lime color to change the slider style ), color: 'lime', }, { header: 'Range slider', description: ( Use the yellow color to change the slider style ), color: 'yellow', }, { header: 'Range slider', description: ( Use the orange color to change the slider style ), color: 'orange', }, { header: 'Range slider', description: ( Use the brown color to change the slider style ), color: 'brown', }, { header: 'Range slider', description: ( Use the grey color to change the slider style ), color: 'grey', }, ]; return (
FORMS
Sliders
{defaultSlider.map((item, index) => { return ( ); })}
{rangeSlider.map((item, index) => { return ( ); })}
{sliderColors.map((item, index) => { return ( ); })}
); }; export default SliderPage;