@daren/code-block
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -22,3 +22,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
export function CodeBlock(_ref) { | ||
function CodeBlock(_ref) { | ||
var { | ||
@@ -70,2 +70,4 @@ code = "", | ||
} | ||
export { CodeBlock }; | ||
//# sourceMappingURL=code-block.js.map |
import { Language } from 'prism-react-renderer'; | ||
export declare function CodeBlock({ code, language, showLineNumbers, }: { | ||
declare type CodeBlockLanguage = Language; | ||
declare function CodeBlock({ code, language, showLineNumbers, }: { | ||
code?: string; | ||
@@ -7,1 +8,3 @@ language?: Language; | ||
}): JSX.Element; | ||
export { CodeBlock }; | ||
export type { CodeBlockLanguage }; |
{ | ||
"name": "@daren/code-block", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"repository": { | ||
@@ -51,3 +51,3 @@ "type": "git", | ||
}, | ||
"gitHead": "c16ad88a9cf07b23f10cca926fe70f2d2dfd8bf1" | ||
"gitHead": "7b9df51f2fa95cc311dbf7c453225a321a078013" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17717
156
0