I hereby claim:
- I am alexbenic on github.
- I am alexbenic (https://keybase.io/alexbenic) on keybase.
- I have a public key whose fingerprint is B02E 3242 8EA1 C081 76E4 B4DF 9027 9EB5 863C 8CE5
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| set noautofocus | |
| let blacklists = ["*://www.draw.io/*"] |
Principles of Adult Behavior
| render() { | |
| return React.createElement( | |
| "div", | |
| { | |
| className: | |
| "helvetica vh-100 vw-100 flex flex-column items-center justify-center f2" | |
| }, | |
| [ | |
| React.createElement("input", { | |
| className: "ma2 pa1", |
| render() { | |
| return( | |
| <div | |
| className="helvetica f2"> | |
| <input className="ma2 pa1" | |
| onChange={this.handleChange("firstName")} /> | |
| <input className="ma2 pa1" | |
| onChange={this.handleChange("lastName")} /> | |
| <div className="ma2"> | |
| {`Hello ${this.state.firstName} ${this.state.lastName}`} |
| render() { | |
| return ( | |
| <Router> | |
| <Switch> | |
| <Route exact path="/" | |
| render={() => <Redirect to="/one" />} /> | |
| <Route exact path="/one" component={Lorem} /> | |
| <Route exact path="/two" component={Lorem} /> | |
| <Route exact path="/three" component={Lorem} /> | |
| <Route component={NotFound} /> |
| class App extends Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = {}; | |
| } | |
| render() { | |
| return ( | |
| <div></div> |
| const NotFound = () => { | |
| return ( | |
| <Fragment> | |
| <Header /> | |
| <div className="f1 mesaure center mv4 tc w-100">404</div> | |
| </Fragment> | |
| ); | |
| }; |
| return ( | |
| <div> | |
| <div style={{ marginBottom: "25px" }}> | |
| <input | |
| type="text" | |
| style={inputStyle} | |
| value={this.state.filter} | |
| onChange={evt => this.handleChange(evt)} | |
| tabIndex={0} | |
| /> |