@hashicorp/react-code-block

A simple code block with clipboard functionality

Usage no npm install needed!

<script type="module">
  import hashicorpReactCodeBlock from 'https://cdn.skypack.dev/@hashicorp/react-code-block';
</script>

README

Code Block

A styled code block with clipboard functionality.

Props

Refer to our component playground for details on the props this component accepts.