MCPcopy Create free account
hub / github.com/StaticMania/keep-react / CodeBoxProps

Interface CodeBoxProps

app/docs/getting-started/colors/CodeBox.tsx:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import useCopy from '~/hooks/useCopy'
6
7interface CodeBoxProps {
8 color: string
9 id: number
10 code: string
11}
12
13const CodeBox: FC<CodeBoxProps> = ({ color, id, code }) => {
14 const { copy, copyToClipboard } = useCopy()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected