import { ReactElement } from 'react'; export interface CodeBlockProps { /** * The code to display. */ children: string; /** * Sets the css class of the rendered element. Can be used to apply custom * styles. */ className?: string; /** * As with all the other waffles components, dataAttributes can be used to set * data- html attributes on the element. */ dataAttributes?: { [key: string]: string; }; } declare const CodeBlock: ({ children, className, dataAttributes, }: CodeBlockProps) => ReactElement; export default CodeBlock;