18 lines
347 B
TypeScript
18 lines
347 B
TypeScript
import { cn } from '@/lib/utils';
|
|
import type { DialogHeaderProps } from './types';
|
|
|
|
export function DialogHeader({
|
|
children,
|
|
className,
|
|
}: DialogHeaderProps) {
|
|
return (
|
|
<div
|
|
className={cn(
|
|
'flex items-center justify-between p-8 border-b border-border',
|
|
className,
|
|
)}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|