muicss/mui

passthrough style-Attribute for Option Component

Open

#288 opened on Sep 6, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (4,524 stars) (441 forks)batch import
enhancementhelp wantedpriority: medium

Description

Is there a way to pass the Style parameter to the option element? Maybe also a new feature for this component. I know I can set my own class, but I'd rather use inlinestyles in a suitable place.

<Option
 style={{ color: color, backgroundColor: color }}
 />

br Henry

Contributor guide