muicss/mui

passthrough style-Attribute for Option Component

Open

#288 opened on 2018年9月6日

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

説明

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

コントリビューターガイド