MCPcopy
hub / github.com/danielpetho/fancy / Component

Interface Component

src/lib/get-components.ts:6–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4export const COMPONENTS_DIRECTORY = "/src/content/docs/components/"
5
6export interface Component {
7 name: string
8 category: string
9 thumbnail: {
10 url: string
11 }
12 demo: {
13 url: string
14 }
15}
16
17export function getAllComponentNames(): string[] {
18 const componentsPath = path.join(process.cwd(), COMPONENTS_DIRECTORY)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected