import { Slider, SliderSingleProps } from 'antd'; import cx from 'classnames'; import React from 'react'; import type { StdCallback } from './types'; const CLASS_NAME = 'ac-slider'; export type AcSliderProps = { className?: string; onChange?: StdCallback; } & SliderSingleProps; export class AcSlider 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, value, onChange, ...props } = this.props; return ; } } export const AcSliderFc = (props: AcSliderProps) => { return ; };