Created
April 6, 2015 18:25
-
-
Save parshap/0fd364176b5028acc577 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
"use strict"; | |
// # Responsive Component | |
// | |
// A react component that will conditionally render children that correspond | |
// to the currently matching "named" media query. | |
// | |
// The predefined named media queries are: "small", "not-small", "medium", and | |
// "large". These correspond to CSS classes that end with "-ns", "-m", etc. | |
// suffixes. | |
// | |
// ## Example | |
// | |
// ``` | |
// React.createElement(Responsive, { | |
// "small": ... | |
// "not-small": ... | |
// }); | |
// ``` | |
// | |
module.exports = React.createClass({ | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So our mobile retire age would be something like
?