React
Client copy button with filename and language labels.

Component
Copyable code surface for examples and installation snippets.
import { CodeBlock } from "@hozorica/hods-react/code-block";stringCode text to display and copy.stringLanguage label shown in the header.ReactNodeOptional filename replacing the language label.stringCopy button labels.Client copy button with filename and language labels.
Use Text in a scrollable code surface when needed.
<CodeBlock filename="App.tsx" code={'import { ActionButton } from "@hozorica/hods-react";'} />