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): React.JSX.Element;
Parameters
Parameter |
Type |
Description |
---|---|---|
props |
React.JSX.Element