Connor McSheffrey
11 years ago
2 changed files with 0 additions and 29 deletions
@ -1,10 +0,0 @@ |
|||
/** |
|||
* @jsx React.DOM |
|||
*/ |
|||
|
|||
var INLINE_STYLES_COMPONENT = "\/** @jsx React.DOM *\/\r\n\r\nvar divStyle = {\r\n color: \'white\',\r\n backgroundColor: \'lightblue\',\r\n WebkitTransition: \'all\' \/\/ note the capital \'W\' here\r\n};\r\n\r\nReact.renderComponent(<div style={divStyle}>Hello World!<\/div>, mountNode);"; |
|||
|
|||
React.renderComponent( |
|||
ReactPlayground( {codeText:INLINE_STYLES_COMPONENT} ), |
|||
document.getElementById('inlineStylesExample') |
|||
); |
@ -1,19 +0,0 @@ |
|||
/** |
|||
* @jsx React.DOM |
|||
*/ |
|||
|
|||
var INLINE_STYLES_COMPONENT = " |
|||
/** @jsx React.DOM */ |
|||
|
|||
var divStyle = { |
|||
color: 'white', |
|||
backgroundImage: 'url(' + imgUrl + ')', |
|||
WebkitTransition: 'all' // note the capital 'W' here
|
|||
}; |
|||
|
|||
React.renderComponent(<div style={divStyle}>Hello World!</div>, mountNode); |
|||
"; |
|||
React.renderComponent( |
|||
ReactPlayground( {codeText:INLINE_STYLES_COMPONENT} ), |
|||
document.getElementById("inlineStylesExample") |
|||
); |
Loading…
Reference in new issue