@redocly/theme
Version:
Shared UI components lib
16 lines (15 loc) • 520 B
TypeScript
import type { JSX, PropsWithChildren } from 'react';
export type CodeBlockContainerProps = PropsWithChildren<{
hideCodeColors?: boolean;
maxHeight?: string;
wrapContents?: boolean;
ref?: (instance: HTMLPreElement | null) => void;
className?: string;
withLineNumbers?: boolean;
dangerouslySetInnerHTML?: {
__html: string;
};
suppressHydrationWarning?: boolean;
tabIndex?: number;
}>;
export declare function CodeBlockContainer(props: CodeBlockContainerProps): JSX.Element;