Created
March 21, 2017 04:05
-
-
Save cellog/c7285fbfabc0471dffe80bfb8e1ff5df 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 a specific thing</div> | |
const Else = () => <div>List of all things we are about</div> | |
const Loading = () => <div>Loading things...</div> | |
export const () => ( | |
<AboutToggleLoading component={About} else={Else} loadingComponent={Loading} /> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment