muicss/mui

passthrough style-Attribute for Option Component

Open

#288 创建于 2018年9月6日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (441 fork)batch import
enhancementhelp wantedpriority: medium

仓库指标

Star
 (4,524 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南