Monday, October 5, 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.Footer = class Footer extends React.Component {Simple solution from Roger Chapman. Thank you guy.
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>
);
}
};
Location:
Paris, France
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment