mirror of
https://github.com/wassname/slider.git
synced 2026-09-09 11:35:22 +08:00
fix: eslint error
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ const React = require('react');
|
||||
const ReactDOM = require('react-dom');
|
||||
const Slider = require('rc-slider');
|
||||
|
||||
const style = {float: 'left', 'marginBottom': 20, width: 160, height: 400, marginBottom: 160, marginLeft: 50};
|
||||
const style = {float: 'left', width: 160, height: 400, marginBottom: 160, marginLeft: 50};
|
||||
const parentStyle = {overflow: 'hidden'};
|
||||
|
||||
const marks = {
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ const React = require('react');
|
||||
const ReactDOM = require('react-dom');
|
||||
const Slider = require('rc-slider');
|
||||
|
||||
const style = {float: 'left', 'marginBottom': 20, width: 180, height: 400, marginBottom: 160, marginLeft: 50};
|
||||
const style = {float: 'left', width: 180, height: 400, marginBottom: 160, marginLeft: 50};
|
||||
const parentStyle = {overflow: 'hidden'};
|
||||
|
||||
function log(value) {
|
||||
|
||||
@@ -5,7 +5,7 @@ const React = require('react');
|
||||
const ReactDOM = require('react-dom');
|
||||
const Slider = require('rc-slider');
|
||||
|
||||
const style = {float: 'left', 'marginBottom': 20, width: 200, height: 400, marginBottom: 160, marginLeft: 50};
|
||||
const style = {float: 'left', width: 200, height: 400, marginBottom: 160, marginLeft: 50};
|
||||
const parentStyle = {overflow: 'hidden'};
|
||||
|
||||
function log(value) {
|
||||
|
||||
Reference in New Issue
Block a user