|
|
@ -1,5 +1,5 @@
|
|
|
|
import * as React from 'react';
|
|
|
|
import * as React from 'react';
|
|
|
|
import Button from '@material-ui/core/Button';
|
|
|
|
import Fab from '@material-ui/core/Fab';
|
|
|
|
import ContentAdd from '@material-ui/icons/Add';
|
|
|
|
import ContentAdd from '@material-ui/icons/Add';
|
|
|
|
import Tab from '@material-ui/core/Tab';
|
|
|
|
import Tab from '@material-ui/core/Tab';
|
|
|
|
import Tabs from '@material-ui/core/Tabs';
|
|
|
|
import Tabs from '@material-ui/core/Tabs';
|
|
|
@ -95,7 +95,7 @@ class PimMain extends React.PureComponent<PropsType> {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<React.Fragment>
|
|
|
|
<React.Fragment>
|
|
|
|
<Tabs
|
|
|
|
<Tabs
|
|
|
|
fullWidth={true}
|
|
|
|
variant="fullWidth"
|
|
|
|
style={{ backgroundColor: theme.palette.primary.main }}
|
|
|
|
style={{ backgroundColor: theme.palette.primary.main }}
|
|
|
|
value={tab}
|
|
|
|
value={tab}
|
|
|
|
onChange={(event, value) => this.setState({tab: value})}
|
|
|
|
onChange={(event, value) => this.setState({tab: value})}
|
|
|
@ -122,14 +122,13 @@ class PimMain extends React.PureComponent<PropsType> {
|
|
|
|
</Container>
|
|
|
|
</Container>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
<Fab
|
|
|
|
variant="fab"
|
|
|
|
|
|
|
|
color="primary"
|
|
|
|
color="primary"
|
|
|
|
style={style.floatingButton}
|
|
|
|
style={style.floatingButton}
|
|
|
|
onClick={this.floatingButtonClicked}
|
|
|
|
onClick={this.floatingButtonClicked}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<ContentAdd />
|
|
|
|
<ContentAdd />
|
|
|
|
</Button>
|
|
|
|
</Fab>
|
|
|
|
</React.Fragment>
|
|
|
|
</React.Fragment>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|