MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / ComponentPreviewProps

Interface ComponentPreviewProps

src/components/code/ComponentPreview.tsx:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19import CodeGroup from './CodeGroup'
20
21interface ComponentPreviewProps extends React.HTMLAttributes<HTMLDivElement> {
22 path: string
23 align?: 'center' | 'start' | 'end'
24 preview?: React.ReactNode
25 usingFramer?: boolean
26 usingCn?: boolean
27}
28
29const formatName = (path: string) => {
30 const parts = path.split('/')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected