Last active
September 25, 2017 22:17
-
-
Save renatorib/327f72a79eb1188abd634daafd106bfa to your computer and use it in GitHub Desktop.
React BPS Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const breakpoints = { | |
900: { name: 'Tablet' }, | |
600: { name: 'Mobile' }, | |
} | |
render( | |
<Hello name="Desktop" bps={breakpoints} />, | |
document.getElementById('root') | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment