summit-kit
Version:
A React component library for building modern web applications with an earthy and outdoorsy flair.
14 lines (13 loc) • 493 B
TypeScript
interface CodeProps {
code: string;
language: string;
}
/**
* Renders a syntax-highlighted code block using the specified language and theme.
*
* @param code - The code string to display and highlight.
* @param language - The programming language to use for syntax highlighting.
* @returns A React component that displays the highlighted code in a styled block.
*/
export declare const Code: ({ code, language }: CodeProps) => import("react/jsx-runtime").JSX.Element;
export {};