"use client";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { MetaTags } from "../handles/MetaTags.js";
/**
 * Default document component that provides a basic HTML structure.
 * Used when no custom document is provided to createRouter.
 * Includes MetaTags for automatic charset, viewport, and route meta support.
 *
 * Uses suppressHydrationWarning on <html> because the theme script
 * may modify class/style attributes before React hydrates.
 */
export function DefaultDocument({ children }) {
    return (_jsxs("html", { lang: "en", suppressHydrationWarning: true, children: [_jsx("head", { children: _jsx(MetaTags, {}) }), _jsx("body", { children: children })] }));
}
//# sourceMappingURL=DefaultDocument.js.map