muicss/mui

passthrough style-Attribute for Option Component

Open

#288 建立於 2018年9月6日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (4,524 star) (441 fork)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

貢獻者指南