Skip to content

Instantly share code, notes, and snippets.

@amannn
Last active April 3, 2016 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amannn/7d111560a14f636eeff1 to your computer and use it in GitHub Desktop.
Save amannn/7d111560a14f636eeff1 to your computer and use it in GitHub Desktop.
import styles from './styles.scss';
...
render() {
return (
<a className={styles.root}>
<span className={styles.icon}>😀</span>
{children}
</a>
);
}
.root {
display: block;
background: #ccc;
}
.icon {
margin-right: 16px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment