First attemps at using route interception and modals

This commit is contained in:
Sebastien Castiel
2023-12-14 11:09:59 -05:00
parent 66ab0ff82b
commit 4902271d4b
14 changed files with 556 additions and 278 deletions

View File

@@ -0,0 +1,19 @@
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
import { ReactNode } from 'react'
export function ExpensePage({
children,
title,
}: {
children: ReactNode
title: ReactNode
}) {
return (
<Card>
<CardHeader>
<CardTitle>{title}</CardTitle>
</CardHeader>
<CardContent>{children}</CardContent>
</Card>
)
}