Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

using inline styling in React

function MyComponent(){
2
3return <div style={{ color: 'blue', lineHeight : 10, padding: 20 }}> Inline Styled Component</div>
4
5}
Source by www.pluralsight.com #
 
PREVIOUS NEXT
Tagged: #inline #styling #React
ADD COMMENT
Topic
Name
3+9 =