I have been looking, however, I have had little luck finding any way to style the React.js file that I have created, I converted it from a standard web page, so I have the o
As Vijay mentioned, React prefers inline styles.
One common pattern is for each Component to have a single styles object that contains all the styles used in that Component, like so:
var styles = {
navBar: {
backgroundColor: 'dark blue'
},
center: {
textAlign: 'center'
},
rightNav: {
},
verticalLine: {
},
};
var NavBar = React.createClass({
render: function() {
return (
- daily specials
- gift gallery
- events
- search
);
}
});