import React, { useState } from 'react'; import { ConfigProvider, FloatButton, Slider } from 'antd'; import type { ConfigProviderProps, GetProp } from 'antd'; type AliasToken = GetProp['token']; const App: React.FC = () => { const [radius, setRadius] = useState(0); const token: Partial = { borderRadius: radius, }; return ( <> ); }; export default App;