384963 (3) [Avatar] Offline
Page 106
Shouldn't bootstrap styles be camelCase and not hyphenated since they are in JSX( className rather than class)?
Azat Mardan (41) [Avatar] Offline
Hmmm. Styles (aka CSS properties) are cameCased in JSX, but Twitter Bootstrap classes not properties but class names. It's okay to use "-" in the class names with JSX:


<p className="btn btn-primary btn-info">save</p>

or valid:

<p style={{backgroundColor: blue}}>save</p>

not valid

<p style={{background-color: blue}}>save</p>