import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
import { i18n } from '#/lib/i18n.ts';

export function baseOptions(locale: string = i18n.defaultLanguage): BaseLayoutProps {
  return {
    nav: {
      title: `React Router ${locale}`,
    },
  };
}
