import { Slider } from 'antd'; import { SliderRangeProps } from 'antd/es/slider'; import cx from 'classnames'; import React from 'react'; import type { StdCallback } from './types'; const CLASS_NAME = 'ac-slider-range'; export type AcSliderRangeProps = { className?: string; range?: true; onChange?: StdCallback; } & Omit; export class AcSliderRange extends React.Component { static displayName = CLASS_NAME; static formSchema = CLASS_NAME; static defaultProps = {}; handleChange = (inEvent) => { const { onChange } = this.props; onChange?.({ target: { value: inEvent } }); }; render() { const { className, range, onChange, ...props } = this.props; return ( ); } } export const AcSliderRangeFc = (props: AcSliderRangeProps) => { return ; };