From 969932cb00937cb33be62bb833b238828371dbbc Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Wed, 26 Feb 2025 11:05:38 +0800 Subject: [PATCH] feat(layout): add ProblemDescriptionLayout component for structured layout --- .../playground/@problem/@description/layout.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/app/(app)/playground/@problem/@description/layout.tsx diff --git a/src/app/(app)/playground/@problem/@description/layout.tsx b/src/app/(app)/playground/@problem/@description/layout.tsx new file mode 100644 index 0000000..bf5c67b --- /dev/null +++ b/src/app/(app)/playground/@problem/@description/layout.tsx @@ -0,0 +1,13 @@ +interface ProblemDescriptionLayoutProps { + children: React.ReactNode; +} + +export default function ProblemDescriptionLayout({ + children, +}: ProblemDescriptionLayoutProps) { + return ( +
+ {children} +
+ ); +}