--- order: 99 debug: true title: zh-CN: 嵌套 en-US: Nest --- ## zh-CN 默认选中第一项。 ## en-US Default activate first tab. ```tsx import { Select, Tabs } from 'antd'; import React, { useState } from 'react'; const { TabPane } = Tabs; const { Option } = Select; const positionList = ['left', 'right', 'top', 'bottom']; const list = Array.from({ length: 20 }).map((_, index) => index); const App: React.FC = () => { const [parentPos, setParentPos] = useState(undefined); const [childPos, setChildPos] = useState(undefined); const [parentType, setParentType] = useState(undefined); const [childType, setChildType] = useState(undefined); return (