mirror of
https://github.com/wassname/slider.git
synced 2026-09-12 12:50:45 +08:00
style: update code style
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import classNames from 'classnames';
|
||||
|
||||
const Marks = ({className, vertical, marks, included, upperBound, lowerBound, max, min}) => {
|
||||
const Marks = ({ className, vertical, marks, included, upperBound, lowerBound, max, min }) => {
|
||||
const marksKeys = Object.keys(marks);
|
||||
const marksCount = marksKeys.length;
|
||||
const unit = 100 / (marksCount - 1);
|
||||
|
||||
Reference in New Issue
Block a user