Skip to content

Commit ba12428

Browse files
Merge pull request #1 from waynezhang1995/CSS-Module-Update
CSS Module support
2 parents 6a5bcc9 + e44aa02 commit ba12428

17 files changed

Lines changed: 115 additions & 154 deletions

package-lock.json

Lines changed: 89 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"version": "0.1.0",
55
"private": true,
66
"dependencies": {
7-
"@material-ui/core": "^3.9.2",
7+
"@material-ui/core": "^3.9.4",
88
"@material-ui/icons": "^3.0.2",
9-
"bootstrap": "^4.3.1",
9+
"bootstrap": "^4.4.1",
1010
"moment": "^2.22.2",
11-
"react": "^16.8.4",
12-
"react-dom": "^16.8.4",
11+
"react": "^16.13.0",
12+
"react-dom": "^16.13.0",
1313
"react-scripts": "2.1.8",
14-
"react-swipeable-views": "^0.13.1",
14+
"react-swipeable-views": "^0.13.9",
1515
"reactstrap": "^7.1.0"
1616
},
1717
"scripts": {
@@ -32,7 +32,7 @@
3232
"not op_mini all"
3333
],
3434
"devDependencies": {
35-
"gh-pages": "^2.0.1",
35+
"gh-pages": "^2.2.0",
3636
"react-social-icons": "^4.1.0"
3737
}
3838
}

src/components/detail-tabpanel/DetailTabPanel.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ import SkillPanel from '../skill-panel/SkillPanel';
88
import EducationPanel from '../education-panel/EducationPanel';
99
import ProjectTabPanel from '../project-tabpanel/ProjectTabPanel';
1010
import SwipeableViews from 'react-swipeable-views';
11-
import './DetailTabPanel.css';
12-
13-
const styles = {
14-
tabPanelRoot: 'tabPanelRoot',
15-
tabPanelText: 'tabPanelText',
16-
tabContainer: 'tabContainer'
17-
}
11+
import styles from './DetailTabPanel.module.css';
1812

1913
class DetailTabPanel extends Component {
2014

@@ -33,7 +27,7 @@ class DetailTabPanel extends Component {
3327

3428
handleChangeIndex = index => {
3529
this.setState({ value: index });
36-
};
30+
};
3731

3832
render() {
3933
const { value } = this.state;
File renamed without changes.

0 commit comments

Comments
 (0)