feat: tempcommit

This commit is contained in:
Maximilian Liebmann 2025-06-24 11:45:50 +02:00
parent bc1910fdca
commit 7f5f8642ef
6 changed files with 113 additions and 174 deletions

View file

@ -0,0 +1,23 @@
import { cn } from '@/lib/utils';
import type * as React from 'react';
interface ScrollableSettingsWrapperProps {
className?: string;
legend?: string;
children: React.ReactNode;
}
export function GroupWrapper({
className,
legend,
children,
}: ScrollableSettingsWrapperProps) {
return (
<fieldset
className={cn('space-t-4 p-4 border rounded-md shadow-md', className)}
>
<legend className='text-sm font-medium px-1'>{legend}</legend>
{children}
</fieldset>
);
}