Can I style DCC components directly in the app without Div?

How can I style DCC components directly in the app without using a Div?
Is it possible to style it directly, something like this?

dcc.Slider(id='slider', min=0, max=50, step=2, value=10, style=dict(width='50%'))

I did try it and got:

TypeError: The `dash_core_components.Slider` component (version 1.10.2) with the ID "slider" received an unexpected keyword argument: `style`

It seems to me that the only way to style it directly is to wrap it in a div.
Is there a way to avoid this extra code?