Files
asaas-checkout/components/dashboard-header.tsx
Felipe Carvalho 038ce3f556 feat: initial commit — asaas-checkout template white-label
Template genérico de checkout com ASAAS, parametrizado via env vars.
Inclui fluxo completo: checkout → pedido → polling → webhook → admin.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 06:40:41 +02:00

24 lines
864 B
TypeScript

import type React from "react" // Added import for React
interface DashboardHeaderProps {
heading: string
text?: string
children?: React.ReactNode
}
export function DashboardHeader({ heading, text, children }: DashboardHeaderProps) {
return (
<div className="flex items-center justify-between px-2">
<div className="grid gap-1">
<h1 className="font-heading text-3xl font-bold tracking-tight">{heading}</h1>
{text && <p className="font-sans text-lg text-muted-foreground">{text}</p>}
<p className="text-sm text-muted-foreground mt-2 font-sans">
Gerencie seus certificados digitais, acompanhe vendas e monitore o desempenho em tempo real. Todas as
ferramentas que você precisa em um lugar.
</p>
</div>
<div className="flex items-center gap-2">{children}</div>
</div>
)
}