File size: 520 Bytes
9a9d08c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import React from "react";

export default function BoxContainer({
  children,
  headerName,
}: {
  children?: React.ReactNode | React.ReactNode[];
  headerName?: string;
}) {
  return (
    <div className="flex items-center justify-center h-screen">
      <div className="flex flex-col bg-white h-3/4 w-[40%] mt-0 rounded-xl border-gray-700 shadow-lg">
        <div className="ml-0 border-b items-center p-4 font-bold bg-gray-50">
          {headerName}
        </div>
        {children}
      </div>
    </div>
  );
}