Showing 2 of 2 total issues
Function getStyles
has 114 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
export default function getStyles(styles?: RangeSliderStylesProp): RangeSliderStyles {
const options: RangeSliderStylesOptions = deepmerge(
defaultOptions,
styles ? (styles.options as RangeSliderStylesOptions) : {},
);
Function render
has 90 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
public render() {
const { axis, className, xMax, xMin, yMax, yMin } = this.props;
const rest = removeProperties(
this.props,
'axis',