import { default as React } from 'react';
import { Language } from './highlight.js';
export type CodeBlockProps = {
/**
* Your code (as text).
*/
content: string;
/**
* Whether or not to apply syntax highlighting to the rendered code.
*
* @default true
*/
highlighting?: boolean | undefined;
/**
* Whether or not to show a clipboard button which, when clicked, copies the current snippet to
* the user clipboard.
*
* @default false
*/
copiable?: boolean | undefined;
/**
* Specify the code language to apply syntax highlighting to the code block.
*
* @default text
*/
language?: Language | undefined;
};
/**
* A code block renders code in a pre-formatted monospace text block with syntax highlighting.
*
* 
*
* @param props
* @example
* ```tsx
* import { CodeBlock } from "@netlify/sdk/ui/react/components";
*
*