Replies: 3 comments 9 replies
-
|
If you mean installing https://www.fumadocs.dev/docs/ui/search/orama still don't feel flexible enough, Shadcn UI + the |
Beta Was this translation helpful? Give feedback.
-
|
Can I customize the core? |
Beta Was this translation helpful? Give feedback.
-
|
So this is normal right? import "./global.css";
import MainLayout from "@/components/main-layout";
export default async function Layout({
params,
children,
}: {
params: Promise<{ lang: string }>;
children: React.ReactNode;
}) {
const lang = (await params).lang;
return <MainLayout lang={lang}>{children}</MainLayout>;
}export default function MainLayout({
lang,
children,
}: {
lang: string;
children: ReactNode;
}) {
const pathname = usePathname();
const dir =
lang === "ar" && !pathname?.startsWith("/openapi") ? "rtl" : "ltr";
return (
<html
lang={lang}
dir={dir}
className={estedadFont.className}
suppressHydrationWarning
>
<body className="flex flex-col min-h-screen">
<RootProvider
search={{
SearchDialog,
}}
i18n={provider(lang)}
dir={dir}
>
{children}
</RootProvider>
</body>
</html>
);
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to fully customize the whole search component
Is there anyway?
Beta Was this translation helpful? Give feedback.
All reactions