Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
table.tsx1.53 kB
"use client"; import type { Assign, PolymorphicProps } from "@ark-ui/react"; import { ark } from "@ark-ui/react/factory"; import { type TableVariantProps, table } from "styled-system/recipes"; import type { HTMLStyledProps } from "@/styled-system/types"; import { createStyleContext } from "@/utils/create-style-context"; const { withProvider, withContext } = createStyleContext(table); export interface RootProps extends Assign<HTMLStyledProps<"table">, PolymorphicProps>, TableVariantProps {} export const Root = withProvider<HTMLTableElement, RootProps>( ark.table, "root", ); export const Body = withContext< HTMLTableSectionElement, Assign<HTMLStyledProps<"tbody">, PolymorphicProps> >(ark.tbody, "body"); export const Caption = withContext< HTMLTableCaptionElement, Assign<HTMLStyledProps<"caption">, PolymorphicProps> >(ark.caption, "caption"); export const Cell = withContext< HTMLTableCellElement, Assign<HTMLStyledProps<"td">, PolymorphicProps> >(ark.td, "cell"); export const Foot = withContext< HTMLTableSectionElement, Assign<HTMLStyledProps<"tfoot">, PolymorphicProps> >(ark.tfoot, "footer"); export const Head = withContext< HTMLTableSectionElement, Assign<HTMLStyledProps<"head">, PolymorphicProps> >(ark.thead, "head"); export const Header = withContext< HTMLTableCellElement, Assign<HTMLStyledProps<"th">, PolymorphicProps> >(ark.th, "header"); export const Row = withContext< HTMLTableRowElement, Assign<HTMLStyledProps<"tr">, PolymorphicProps> >(ark.tr, "row");

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'

If you have feedback or need assistance with the MCP directory API, please join our Discord server