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