MCPcopy
hub / github.com/vercel/streamdown / useCn

Function useCn

packages/streamdown/lib/prefix-context.tsx:17–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 * a `cn` that prepends the prefix to all class names.
16 */
17export const useCn = (): CnFunction => useContext(PrefixContext);

Callers 15

components.tsxFile · 0.90
LinkComponentFunction · 0.90
CodeComponentFunction · 0.90
ImageComponentFunction · 0.90
LinkSafetyModalFunction · 0.90
MermaidDownloadDropdownFunction · 0.90
MermaidFullscreenButtonFunction · 0.90
PanZoomFunction · 0.90
MermaidFunction · 0.90
TableDownloadButtonFunction · 0.90
TableDownloadDropdownFunction · 0.90
TableCopyDropdownFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected