diff options
| author | 2023-04-22 19:52:26 +0800 | |
|---|---|---|
| committer | 2023-04-22 19:52:26 +0800 | |
| commit | 4838df315931bb883f704ec3e1abe2685f296cdf (patch) | |
| tree | 57a8550c4cd5338f1126364bb518c6cde8d96e7d /docs/components/Container.tsx | |
| parent | db74ade0234a40c2120ad5f2a41bee50ce13de02 (diff) | |
| download | HydroRoll-4838df315931bb883f704ec3e1abe2685f296cdf.tar.gz HydroRoll-4838df315931bb883f704ec3e1abe2685f296cdf.zip | |
😀
Diffstat (limited to 'docs/components/Container.tsx')
| -rw-r--r-- | docs/components/Container.tsx | 9 |
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>; +}; |
