@cimpress/react-components
Version:
React components to support the MCP styleguide
13 lines • 377 B
TypeScript
/// <reference types="react" />
export interface CodeExampleProps {
/**
* The code to be displayed
*/
code: string;
/**
* Whether the codeblock should be expanded on initial render
*/
initialOpen?: boolean;
}
export declare function CodeExample({ code, initialOpen }: CodeExampleProps): JSX.Element;
//# sourceMappingURL=CodeExample.d.ts.map