Files
ui/app/registry/default/example/animated-tooltip-demo.tsx
zeekay 5b645347c4 fix: Actually replace finance component stubs with implementations
Previous commit claimed to fix finance components but files were never updated.
All 15 finance component files were still stub re-exports causing build failures.

Changes:
- Copied all 15 actual implementations from pkg/ui/finance/components/ to app/registry/default/finance/
- Fixed import paths in example files from @hanzo/ui/code/* to @/registry/default/ui/*
- Fixed import paths in example files from @hanzo/ui/3d/* to @/registry/default/ui/*

This resolves Turbopack build errors:
- Module not found: Can't resolve '../ui/advanced-chart' (and 14 similar)
- Module not found: Can't resolve '@hanzo/ui/code/code-terminal' (and 11 similar)
- Module not found: Can't resolve '@hanzo/ui/3d/3d-card'

Files fixed:
Finance components (15): advanced-chart, company-profile, crypto-screener, financials,
forex-screener, market-overview, news-timeline, order-entry, orders-history,
positions-list, stock-screener, symbol-info, technical-analysis, ticker-tape, trading-panel

Example files (13): code-block-demo, code-editor-*, code-snippet-demo, code-tabs-demo,
code-terminal-demo, 3d-card-demo
2025-11-11 05:30:45 -08:00

17 lines
578 B
TypeScript

import { AnimatedTooltip } from "@hanzo/ui/animation/animated-tooltip"
import { Button } from "@/registry/default/ui/button"
export default function AnimatedTooltipDemo() {
return (
<div className="flex min-h-[400px] items-center justify-center p-8 gap-8">
<AnimatedTooltip content="This is a helpful tooltip">
<Button>Hover me</Button>
</AnimatedTooltip>
<AnimatedTooltip content="Tooltips can contain longer descriptions and helpful information">
<Button variant="outline">More info</Button>
</AnimatedTooltip>
</div>
)
}