I hereby claim:
- I am heldr on github.
- I am heldr (https://keybase.io/heldr) on keybase.
- I have a public key ASBwmQHJaS4fN2i0fDYzEDHmCaCeTx6qbEgvx0ZTawpNMwo
To claim this, I am signing this object:
/** | |
* Higher order component to toggle a prop value | |
* | |
* @see https://goo.gl/q7mQGm | |
* @function withToggle | |
* @returns Component | |
*/ | |
export default function withToggle(WrappedComponent, propName = 'bool') { | |
class WithToggle extends Component { | |
constructor(props, context) { |
import React from 'react'; | |
import { Router } from "@reach/router"; | |
import LoadComponent from './LoadComponent'; | |
const FoobarLoader = () => import('./pages/Foobar'); | |
const App: React.StatelessComponent<{}> = () => ( | |
<div> | |
<Router> | |
<LoadComponent componentAsPromised={FoobarLoader} path="foobar" /> |
I hereby claim:
To claim this, I am signing this object: