add docs searching

This commit is contained in:
Lee
2024-04-21 02:17:51 +01:00
parent dbed53efe4
commit ebdaf623d9
11 changed files with 234 additions and 31 deletions

View File

@ -0,0 +1,15 @@
import React, { ReactElement } from "react";
import { Search } from "@/app/components/docs/search";
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>): ReactElement {
return (
<div className="w-full flex flex-col items-center gap-2 h-full md:flex-row md:items-start">
<Search />
{children}
</div>
);
}