Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

inline styling in react

render() {
    return (
         <p style={{color: 'red'}}>
            Example Text
        </p>
    );
}
Source by malcoded.com #
 
PREVIOUS NEXT
Tagged: #inline #styling #react
ADD COMMENT
Topic
Name
1+5 =