"use client"
import { Flex, Link, Stack, StackProps, Text, chakra } from "@chakra-ui/react"
import NextLink from "next/link"
import type { JSX } from "react"
const Section = ({ children }: { children: React.ReactNode }) => {
return (
{children}
)
}
interface SectionTitleProps {
children: React.ReactNode
id: string
}
const SectionTitle = ({ children, id }: SectionTitleProps) => {
return (
{children}
View in docs
)
}
const Table = chakra("table", {
base: {
marginBottom: "32px",
borderCollapse: "collapse",
"& td:not(.chakra-table__cell)": {
paddingRight: "8",
paddingBottom: "8",
},
"& th:not(.chakra-table__column-header)": {
fontSize: "sm",
color: "fg.muted",
},
"& thead td:not(.chakra-table__cell)": {
fontSize: "sm",
color: "fg.muted",
},
},
})
const SectionContent = (props: StackProps) => {
return
}
interface DemoListProps {
items: Array<{
label: string
component: JSX.Element
align?: StackProps["align"]
}>
}
const DemoList = (props: DemoListProps) => {
const { items } = props
return (
<>
{items.map(({ label, component, align }) => (
{label}
{component}
))}
>
)
}
export { DemoList, Section, SectionContent, SectionTitle, Table }