import { ComponentProps, DetailedHTMLProps, HTMLAttributes, PropsWithChildren, } from "react"; import Stack from "../../layout/Stack"; import Container from "../../layout/Container"; import Row from "../../layout/Row"; import TWUIDocsAside from "./TWUIDocsAside"; import { twMerge } from "tailwind-merge"; import Paper from "../../elements/Paper"; import TWUIDocsRightAside from "./TWUIDocsRightAside"; export type DocsLinkType = { title: string; href: string; strict?: boolean; children?: DocsLinkType[]; editPage?: string; }; type Props = PropsWithChildren & { DocsLinks: DocsLinkType[]; docsAsideBefore?: React.ReactNode; docsAsideAfter?: React.ReactNode; wrapperProps?: ComponentProps; docsContentProps?: ComponentProps; leftAsideProps?: DetailedHTMLProps< HTMLAttributes, HTMLElement >; autoExpandAll?: boolean; editPageURL?: string; }; /** * # TWUI Docs * @className `twui-docs-content` */ export default function TWUIDocs({ children, DocsLinks, docsAsideAfter, docsAsideBefore, wrapperProps, docsContentProps, leftAsideProps, autoExpandAll, editPageURL, }: Props) { return (
{children}
); }