CodeBlock
bash
git clone https://gitlab.com/wireshark/wireshark.git ---import { CodeBlock } from "wf-components";---
<CodeBlock code="git clone https://gitlab.com/wireshark/wireshark.git" lang="bash" />Props
code
Required The code snipper to display.
lang
Optional The language of the code snippet, if not provided it won’t show a language.
showCopyButton
Optional If the copy button should be shown.
bash
git clone https://gitlab.com/wireshark/wireshark.git ---import { CodeBlock } from "wf-components";---<CodeBlock code="git clone https://gitlab.com/wireshark/wireshark.git" lang="bash" showCopyButton={false}/>