react-component / slider

React Slider
https://slider.react-component.now.sh/
MIT License
3.02k stars 764 forks source link

rendering but cant see the thumbnail? #864

Open ShumGG opened 1 year ago

ShumGG commented 1 year ago

this is how im using it:

 <Slider
                                minValue={50}
                                max = {100}
                                style = {{
                                    width: "100%",
                                    height: "4px", 
                                    backgroundColor: "red"
                                }}
                                handleRender = {() => {
                                    <div style = {{
                                        width: "30px",
                                        height: "30px",
                                        backgroundColor: "blue",
                                        border: "1px solid black"
                                    }}>

                                    </div>
                                }}  
                                ariaLabelForHandle = {"hola"}
                                handleStyle = {[{
                                    width: "30px",
                                    height: "30px",
                                    backgroundColor: "blue"
                                }]}
                            >

                            </Slider>

but when render i cant see the thumbnail