MCPcopy Create free account
hub / github.com/chokcoco/iCSS / CodeBlockProps

Interface CodeBlockProps

website/app/components/CodeBlock.tsx:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import { useState } from 'react';
6
7interface CodeBlockProps {
8 children: string;
9 language?: string;
10}
11
12// CodePen Demo 组件
13function CodePenDemo({ html, css, js }: { html: string; css: string; js: string }) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected