aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/BorderedContainer.tsx
blob: a1bff3599c478a11d68821eb670ef43bc6f0e5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import React from "react";

type Props = {
	children: React.ReactNode;
	className?: string;
};

export default function BorderedContainer({ children, className }: Props) {
	return (
		<div
			className={`bg-white border-2 border-brand-600 rounded-xl p-4 ${className}`}
		>
			{children}
		</div>
	);
}