aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/components/Container.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'docs/components/Container.tsx')
-rw-r--r--docs/components/Container.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/components/Container.tsx b/docs/components/Container.tsx
new file mode 100644
index 0000000..a6db4d8
--- /dev/null
+++ b/docs/components/Container.tsx
@@ -0,0 +1,9 @@
+import type { ReactNode } from "react";
+
+type Props = {
+ children?: ReactNode;
+};
+
+export const Container = ({ children }: Props) => {
+ return <div className="mx-auto max-w-7xl sm:px-6 lg:px-8">{children}</div>;
+};