aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/BorderedContainer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/components/BorderedContainer.tsx')
-rw-r--r--frontend/app/components/BorderedContainer.tsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/frontend/app/components/BorderedContainer.tsx b/frontend/app/components/BorderedContainer.tsx
index fe15c3b..d9b2fe8 100644
--- a/frontend/app/components/BorderedContainer.tsx
+++ b/frontend/app/components/BorderedContainer.tsx
@@ -2,11 +2,14 @@ import React from "react";
type Props = {
children: React.ReactNode;
+ className?: string;
};
-export default function BorderedContainer({ children }: Props) {
+export default function BorderedContainer({ children, className }: Props) {
return (
- <div className="bg-white border-2 border-blue-600 rounded-xl p-4">
+ <div
+ className={`bg-white border-2 border-blue-600 rounded-xl p-4 ${className}`}
+ >
{children}
</div>
);