CodeSnippet()
Home > @backstage/core-components
> CodeSnippet
Thin wrapper on top of react-syntax-highlighter providing consistent theming and copy code button
Signature:
function CodeSnippet(props: CodeSnippetProps): import("react/jsx-runtime").JSX.Element;
Parameters
Parameter |
Type |
Description |
---|---|---|
props |
import("react/jsx-runtime").JSX.Element