How do you style a office fabric react component?

2019-08-02 02:37发布

I can't figure out how to style the fabric ui component. I just want to change the background of the nav bar to be black with white phone instead of white background and black font. However, this seems to be really difficult with the current component.

There is virtually no documenation on how to style either.

https://dev.office.com/fabric#/components/nav

Thanks, Derek

1条回答
女痞
2楼-- · 2019-08-02 02:54

css inline not working?

Example:

style={{backgroundColor:'black', color:'white'}}

Regards.

查看更多
登录 后发表回答