Skip to content

Commit ea3f3b8

Browse files
committed
refactored BasicNavBar to BasicAppBar
1 parent c420985 commit ea3f3b8

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export { default as AppBar } from './components/NavBar';
44
export { default as Footer } from './components/Footer';
55

66
// I am changing the name from NavBar to AppBar
7-
export { default as BasicAppBar } from './templates/AppBar/BasicNavBar';
7+
export { default as BasicAppBar } from './templates/AppBar/BasicAppBar';
88
export { default as TwoRowsAppBar } from './templates/AppBar/TwoRowsAppBar';
99
export { default as BasicFooter } from './templates/Footer/BasicFooter';
1010
export { default as BasicDrawer } from './templates/Drawer/BasicDrawer';

src/templates/AppBar/BasicNavBar/BasicNavBar.jsx renamed to src/templates/AppBar/BasicAppBar/BasicAppBar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import compose from 'recompose/compose';
1313

1414
import styles from './styles';
1515

16-
class BasicNavBar extends React.PureComponent {
16+
class BasicAppBar extends React.PureComponent {
1717
static propTypes = {
1818
links: PropTypes.arrayOf(PropTypes.shape({})),
1919
classes: PropTypes.shape({}),
@@ -66,4 +66,4 @@ class BasicNavBar extends React.PureComponent {
6666
}
6767
}
6868

69-
export default compose(withStyles(styles), withWidth())(BasicNavBar);
69+
export default compose(withStyles(styles), withWidth())(BasicAppBar);
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import BasicAppBar from './BasicAppBar';
2+
3+
export default BasicAppBar;

src/templates/AppBar/BasicNavBar/index.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)