Created
March 21, 2017 04:02
-
-
Save cellog/8e4d10a28a00115f1b1965a54b7d159f to your computer and use it in GitHub Desktop.
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
import AboutToggleLoading from './AboutToggleLoading.jsx' | |
const About = () => <div>About things</div> | |
const Loading = () => <div>Loading things...</div> | |
export const () => ( | |
<AboutToggleLoading component={About} loadingComponent={Loading} /> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment