Problem with RangeSlider.Style

Hi, first time posting:

I’m trying to create a rangeslider and run it through dash and the code looks like the following:

dcc.RangeSlider( #Creates the html Division for the year slider
min = min,
max = max,
value= [2010, 2021],
marks = {
‘label’ : str(year_dict),
‘style’ : {

The problem happens when I run the Dash server, I get an error that says: “Invalid argument passed into RangeSlider with ID “year-picker”.”

Looking at the documentation shows that style should be a valid dictionary within RangeSlider. Any help is appreciated. Let me know if something wasn’t clear.