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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user