import React from 'react'; import { Affix, Button } from 'antd'; const App: React.FC = () => ( console.log(affixed)}> ); export default App;