SHARE
TWEET

Untitled

a guest Mar 20th, 2017 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import AboutToggleLoading from './AboutToggleLoading.jsx'
  2.  
  3. const About = () => <div>About a specific thing</div>
  4. const Else = () => <div>List of all things we are about</div>
  5. const Loading = () => <div>Loading things...</div>
  6.  
  7. export const () => (
  8.   <AboutToggleLoading component={About} else={Else} loadingComponent={Loading} />
  9. )
RAW Paste Data
Top