Footer = class Footer extends React.Component { render() { return ( <footer> <section className='ui container'> <article> <ul className='fa'> <li><a className='fa-facebook' href='' target='_blank'></a></li> <li><a className='fa-twitter' href='' target='_blank'></a></li> <li><a className='fa-envelope' href='' target='_blank'></a></li> </ul> </article> </section> </footer> ); } };Simple solution from Roger Chapman. Thank you guy.
8 sept. 2015
Exposing ES2015 classes with Meteor
Just a little post on exposing ES2015 classes with Meteor outside of the scope of its file. Pretty useful for React.
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire