We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8a9727 commit 481bc14Copy full SHA for 481bc14
2 files changed
src/Navbar.js
@@ -56,7 +56,7 @@ const Navbar = (props) => {
56
'navbar-inverse': inverse,
57
[`bg-${color}`]: color,
58
'navbar-full': full,
59
- [`navbar-fixed-${fixed}`]: fixed,
+ [`fixed-${fixed}`]: fixed,
60
[`sticky-${sticky}`]: sticky,
61
}
62
), cssModule);
src/__tests__/Navbar.spec.js
@@ -48,7 +48,7 @@ describe('Navbar', () => {
48
expect(wrapper.hasClass('navbar-toggleable-sm')).toBe(true);
49
expect(wrapper.hasClass('navbar-light')).toBe(true);
50
expect(wrapper.hasClass('navbar-inverse')).toBe(true);
51
- expect(wrapper.hasClass('navbar-fixed-top')).toBe(true);
+ expect(wrapper.hasClass('fixed-top')).toBe(true);
52
expect(wrapper.hasClass('sticky-top')).toBe(true);
53
});
54
0 commit comments