File size: 371 Bytes
05c5ed5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { cn } from "lib/utils";

interface FormGroupProps {
  children: React.ReactNode;
  className?: string;
}

export function FormGroup({ children, className }: FormGroupProps) {
  return (
    <div
      className={cn(
        "space-y-2 pb-4 border-b border-border/30 last:border-b-0 last:pb-0",
        className,
      )}
    >
      {children}
    </div>
  );
}