import React, { useState } from 'react'; import { Button, Timeline } from 'antd'; const App: React.FC = () => { const [reverse, setReverse] = useState(false); const handleClick = () => { setReverse(!reverse); }; return (
); }; export default App;