import ConfigProvider from '../config-provider'; import React, { Component } from 'react'; import cls from 'classnames'; import hoistNonReactStatics from 'hoist-non-react-statics'; import { Range as NextRange } from '@alifd/next'; import { RangeProps as NextRangeProps } from '@alifd/next/types/range'; interface RangeProps extends NextRangeProps { size?: 'large' | 'medium' | 'small'; } class Range extends Component { render() { const { size = 'medium' } = this.props; const { prefix = 'next-', className, ...otherProps } = this.props; return ( ); } } hoistNonReactStatics(Range, NextRange); export default ConfigProvider.config(Range);