completionId: cgen-d7a7b9e2223a41049142bc6ac78ac1d2
cgen-d7a7b9e2223a41049142bc6ac78ac1d2
This commit is contained in:
parent
81996f1040
commit
ed922bb5a8
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import React, { useState, useMemo } from "react";
|
import React, { useState, useMemo } from "react";
|
||||||
import { Link, useLocation, Outlet } from "react-router-dom";
|
import { Link, useLocation, Outlet, useState } from "react-router-dom";
|
||||||
import {
|
import {
|
||||||
Search,
|
Search,
|
||||||
Menu,
|
Menu,
|
||||||
|
|
@ -17,7 +17,7 @@ import {
|
||||||
Sun,
|
Sun,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import { Input } from "@/components/ui/input";
|
import { Input } from "@/components/ui/input";
|
||||||
import { useDocsTheme } from "@/contexts/DocsThemeContext";
|
import { DocsThemeProvider, useDocsTheme } from "@/contexts/DocsThemeContext";
|
||||||
|
|
||||||
interface DocNavItem {
|
interface DocNavItem {
|
||||||
title: string;
|
title: string;
|
||||||
|
|
@ -91,7 +91,7 @@ interface DocsLayoutProps {
|
||||||
tableOfContents?: Array<{ id: string; label: string; level: number }>;
|
tableOfContents?: Array<{ id: string; label: string; level: number }>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function DocsLayout({
|
function DocsLayoutContent({
|
||||||
children,
|
children,
|
||||||
title = "Documentation",
|
title = "Documentation",
|
||||||
description,
|
description,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue