r/reactjs • • Jun 26 '20

Resource React Material-UI Themes: Customize Material Components for your Project

https://www.youtube.com/watch?v=bDkB3LoQKxs&feature=share
148 Upvotes

33 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jun 29 '20

Their documentation is very good. In short, you can do regular CSS for making components.https://styled-components.com/

const CustomView = styled(div)`background-color: #00ff00;`

It also works very well with react-native elements.

const CustomView = styled(View)`background-color: #00ff00;`

2

u/jaySydney Jun 29 '20

Thank you, that will get me started :-)