UNPKG

505 BTypeScriptView Raw
1import * as React from 'react';
2export interface CodeBlockProps extends React.HTMLProps<HTMLDivElement> {
3 /** Content rendered inside the code block */
4 children?: React.ReactNode;
5 /** Additional classes passed to the code block wrapper */
6 className?: string;
7 /** Actions in the code block header. Should be wrapped with CodeBlockAction. */
8 actions?: React.ReactNode;
9}
10export declare const CodeBlock: React.FunctionComponent<CodeBlockProps>;
11//# sourceMappingURL=CodeBlock.d.ts.map
\No newline at end of file