docs: add clean markdown version of all documentation pages (#11308)

* added route to book

* added to resources

* added route to ui

* added to user guide
This commit is contained in:
Shahed Nasser
2025-02-05 11:23:13 +02:00
committed by GitHub
parent 87db3f0c45
commit 98236c8262
30 changed files with 1086 additions and 192 deletions
+2 -13
View File
@@ -1,19 +1,8 @@
import { HookTable } from "@/components/hook-table"
import { HookDataMap } from "@/types/hooks"
const useToastValues: HookDataMap = [
{
value: "dialog",
type: {
type: "function",
signature: `async (props: PromptProps): Promise<boolean>`,
},
description: "Async function used to display a new confirmation dialog.",
},
]
import { usePrompt } from "../../registries/hook-values"
const Props = () => {
return <HookTable props={useToastValues} />
return <HookTable props={usePrompt} />
}
export default Props
+2 -14
View File
@@ -1,20 +1,8 @@
import { HookTable } from "@/components/hook-table"
import { HookDataMap } from "@/types/hooks"
const useToggleStateValuesArray: HookDataMap = [
{
value: "state",
type: {
type: "object",
name: "StateData",
shape:
"[\n state: boolean,\n open: () => void,\n close: () => void,\n toggle: () => void\n]",
},
},
]
import { useToggleState } from "../../registries/hook-values"
const Props = () => {
return <HookTable props={useToggleStateValuesArray} />
return <HookTable props={useToggleState} />
}
export default Props