'use client'; import { Button, Space } from 'antd'; import { useState } from 'react'; import SecondMeChatAPI from './components/SecondMeChatAPI'; import BridgeModeAPI from './components/BridgeModeAPI'; import classNames from 'classnames'; const APIMode = () => { const [activeTab, setActiveTab] = useState('1'); const handleTabChange = (key: string) => { setActiveTab(key); }; return (
{activeTab === '1' && } {activeTab === '2' && }
); }; export default APIMode;