import React from 'react'; import { Slider } from 'antd'; const onChange = (value: number | number[]) => { console.log('onChange: ', value); }; const onAfterChange = (value: number | number[]) => { console.log('onAfterChange: ', value); }; const App: React.FC = () => ( <> ); export default App;