Skip to content

Commit d8d20b2

Browse files
author
vvo
committed
fix(Slider): cssClasses.body handled by headerFooter HOC
1 parent 4c369b3 commit d8d20b2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

components/Slider/Slider.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
var cx = require('classnames');
21
var React = require('react');
32

43
var Nouislider = require('react-nouislider');
@@ -14,7 +13,7 @@ class Slider extends React.Component {
1413

1514
render() {
1615
return (
17-
<div className={cx(this.props.cssClasses.body)}>
16+
<div>
1817
<Nouislider
1918
{...this.props}
2019
animate={false}

components/Slider/__tests__/Slider-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('Slider', () => {
2828
it('should render <NouiSlider {...props} />', () => {
2929
var out = render();
3030
expect(out).toEqualJSX(
31-
<div className="">
31+
<div>
3232
<Nouislider
3333
animate={false}
3434
behaviour="snap"

0 commit comments

Comments
 (0)