---
order: 99
title:
zh-CN: 动画
en-US: Animated
debug: true
---
## zh-CN
动画切换。
## en-US
Animated of Tab Pane.
```tsx
import { Tabs, Switch, Space } from 'antd';
import React from 'react';
const App: React.FC = () => {
const [inkBar, setInkBar] = React.useState(true);
const [tabPane, setTabPane] = React.useState(true);
return (
<>
setInkBar(!inkBar)}
/>
setTabPane(!tabPane)}
/>
>
);
};
export default App;
```