'use client'; import { border, cn, text } from '@/styles/theme'; import * as TabsPrimitive from '@radix-ui/react-tabs'; import type { EarnProps } from '../types'; import { EarnDeposit } from './EarnDeposit'; import { EarnProvider } from './EarnProvider'; import { useEarnContext } from './EarnProvider'; import { EarnWithdraw } from './EarnWithdraw'; function EarnDefaultContent() { const { refetchWalletBalance, refetchDepositedBalance } = useEarnContext(); return ( Deposit Withdraw ); } export function Earn({ children = , className, vaultAddress, isSponsored, onError, onStatus, onSuccess, }: EarnProps) { return (
{children}
); }