diff --git a/app/components/ui/page-header.tsx b/app/components/ui/page-header.tsx new file mode 100644 index 0000000..bf58888 --- /dev/null +++ b/app/components/ui/page-header.tsx @@ -0,0 +1,20 @@ +import type { ReactNode } from 'react'; +import { Text } from '~/components/ui/text'; + +interface PageHeaderProps { + title: string; + description?: string; + actions?: ReactNode; +} + +export function PageHeader({ title, description, actions }: PageHeaderProps) { + return ( +
+
+ {title} + {description && {description}} +
+ {actions &&
{actions}
} +
+ ); +}