import React, { useState } from 'react'; import { Affix, Button } from 'antd'; const App: React.FC = () => { const [top, setTop] = useState(10); const [bottom, setBottom] = useState(10); return ( <>
); }; export default App;