--- order: 0 title: zh-CN: 基本 en-US: Basic --- ## zh-CN 默认选中第一项。 ## en-US Default activate first tab. ```tsx import { Tabs } from 'antd'; import React from 'react'; const { TabPane } = Tabs; const onChange = (key: string) => { console.log(key); }; const App: React.FC = () => ( Content of Tab Pane 1 Content of Tab Pane 2 Content of Tab Pane 3 ); export default App; ```