Skip to content

How to add padding, margin and other css properties dynamically? #63

Answered by rtivital
lalit2005 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, you can add styles with style prop just like in any other component or element, this prop always have highest priority. You can also use className and add your styles with any css solution (jss is not required).

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@lalit2005
Comment options

@cstrat
Comment options

@lalit2005
Comment options

@Xapu1337
Comment options

@rtivital
Comment options

Answer selected by rtivital
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants