mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 10:55:57 +00:00
Upstream changes include: - UI: improved TOC detection, clerk variant, slot support - Base UI: redesigned home layout navigation menu - CLI: slot support in customise command - OpenAPI: unsetting auth fields in playground - Multiple version package releases All fumadocs-* imports renamed to @hanzo/docs-* namespace.
11 lines
259 B
TypeScript
11 lines
259 B
TypeScript
import type { BaseLayoutProps } from '@hanzo/docs/ui/layouts/shared';
|
|
import { i18n } from '@/lib/i18n';
|
|
|
|
export function baseOptions(locale = i18n.defaultLanguage): BaseLayoutProps {
|
|
return {
|
|
nav: {
|
|
title: `React Router ${locale}`,
|
|
},
|
|
};
|
|
}
|