Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
factory-helper.mjs936 B
import { isCssProperty } from './is-valid-prop.mjs'; export const defaultShouldForwardProp = (prop, variantKeys) => !variantKeys.includes(prop) && !isCssProperty(prop) export const composeShouldForwardProps = (tag, shouldForwardProp) => tag.__shouldForwardProps__ && shouldForwardProp ? (propName) => tag.__shouldForwardProps__(propName) && shouldForwardProp(propName) : shouldForwardProp export const composeCvaFn = (cvaA, cvaB) => { if (cvaA && !cvaB) return cvaA if (!cvaA && cvaB) return cvaB if ((cvaA.__cva__ && cvaB.__cva__) || (cvaA.__recipe__ && cvaB.__recipe__)) return cvaA.merge(cvaB) const error = new TypeError('Cannot merge cva with recipe. Please use either cva or recipe.') TypeError.captureStackTrace?.(error) throw error } export const getDisplayName = (Component) => { if (typeof Component === 'string') return Component return Component?.displayName || Component?.name || 'Component' }

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