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

贡献者指南

passthrough style-Attribute for Option Component · muicss/mui#288 | Good First Issue