Commit everything done until beginning version control
Removed the boilerplate's counter, started a drawer menu, added a toolbar to access the menu, created the calculator form and state.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
'use strict';
|
||||
|
||||
import React, {Component} from 'react';
|
||||
import Calc from '../components/calc';
|
||||
import {connect} from 'react-redux';
|
||||
|
||||
class CalcApp extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
render() {
|
||||
const {state} = this.props;
|
||||
console.log(this);
|
||||
|
||||
return (
|
||||
<Calc state={state}/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default connect(state => ({
|
||||
state: state.calc
|
||||
}))(CalcApp);
|
||||
Reference in New Issue
Block a user