MCPcopy Index your code
hub / github.com/amaancoderx/skillui / CodeBlockProps

Interface CodeBlockProps

components/CodeBlock.tsx:5–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { useState } from 'react'
4
5interface CodeBlockProps {
6 code: string
7 language?: string
8 label?: string
9 className?: string
10 /** terminal: macOS dots. editor: tab bar. inline: single-line pill */
11 variant?: 'terminal' | 'editor' | 'inline'
12}
13
14function ClipboardIcon() {
15 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected