'use client'; export default function EmptyStateCard({ fundsLength = 0, currentTab = 'all', onAddToGroup, }) { const isEmpty = fundsLength === 0; const isGroupTab = currentTab !== 'all' && currentTab !== 'fav'; return (
📂
{isEmpty ? '尚未添加基金' : '该分组下暂无数据'}
{isGroupTab && fundsLength > 0 && ( )}
); }