Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

use style in react

// use inline style in react
const myFunction = () => {
	return (
     <p style={{ fontSize: 24, margin: '0 auto', textAlign: 'center'}}>
       Hello world
    </p>
    );
}
Source by malcoded.com #
 
PREVIOUS NEXT
Tagged: #style #react
ADD COMMENT
Topic
Name
7+9 =