@dabapps/roe
Version:
A collection of React components, styles, mixins, and atomic CSS classes to aid with the development of web applications.
19 lines (18 loc) • 552 B
TypeScript
import * as React from 'react';
import { OptionalComponentPropAndHTMLAttributes } from '../../types';
export declare type CodeBlockProps = {
/**
* Code to display.
*/
children?: string;
/**
* Language of the code to display e.g. "javascript".
*/
language?: string;
/**
* Name of the code block e.g. "index.js".
*/
codeBlockName?: string;
} & OptionalComponentPropAndHTMLAttributes;
declare const _default: React.MemoExoticComponent<(props: CodeBlockProps) => JSX.Element>;
export default _default;