import {ReactNode} from 'react' import {merge} from '@/lib/utils' import {Tabs, TabsContent, TabsList, TabsTrigger} from '@/components/ui/tabs' import LongForm from '@/components/composites/purchase/long/form' import ShortForm from '@/components/composites/purchase/short/form' export type TabType = 'short' | 'long' | 'fixed' | 'custom' type PurchaseProps = { defaultType: TabType } export default async function Purchase(props: PurchaseProps) { return (
短效动态 长效静态 固定套餐 定制套餐
) } function Tab(props: { value: string children: ReactNode }) { return ( {props.children} ) }