Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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} />
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement