adamterlson / cairn

Hierarchical shared and component-based style definitions with selector-based style application, for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update readme with regards to multiple styles

Creosteanu opened this issue · comments

I had some difficulty figuring out the proper declaration for multiple styles to be applied.

I found my answer by looking at the test code.

Would be a good idea to include a line in the API section of the readme file explaining the use of {...styles('main.fillContainer specificPage.background')}.

Ah good point. In all my specifics I neglected to include an example of the most basic part!