@codedrop/base
Advanced tools
Comparing version 0.1.10 to 0.1.11
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
const Blockquote = ({ | ||
@@ -9,3 +8,2 @@ children | ||
}, children); | ||
Blockquote.displayName = 'Blockquote'; | ||
@@ -12,0 +10,0 @@ Blockquote.propTypes = { |
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
const CodeBlock = ({ | ||
@@ -9,3 +8,2 @@ children | ||
}, /*#__PURE__*/React.createElement("pre", null, children)); | ||
CodeBlock.displayName = 'CodeBlock'; | ||
@@ -12,0 +10,0 @@ CodeBlock.propTypes = { |
{ | ||
"name": "@codedrop/base", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "base component", | ||
@@ -24,9 +24,14 @@ "repository": { | ||
"dependencies": { | ||
"@codedrop/constants": "^0.1.4" | ||
"@codedrop/constants": "^0.1.5" | ||
}, | ||
"browserslist": "last 2 versions, > 0.25%, firefox esr, ie 11, not dead", | ||
"browserslist": [ | ||
"last 4 chrome versions", | ||
"last 4 firefox versions", | ||
"safari > 14", | ||
"ios_saf > 12" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "4d9c3a423d95300f0ddc963e37e99a0548e05a9b" | ||
"gitHead": "91926aa04fa6d5479709641a68fffd5ad09c4b57" | ||
} |
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
const Blockquote = ({ | ||
children | ||
}) => ( | ||
<blockquote className='blockquote'>{children}</blockquote> | ||
const Blockquote = ({ children }) => ( | ||
<blockquote className="blockquote">{children}</blockquote> | ||
); | ||
@@ -9,0 +7,0 @@ |
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
const CodeBlock = ({ | ||
children | ||
}) => ( | ||
<div className='code-block'> | ||
const CodeBlock = ({ children }) => ( | ||
<div className="code-block"> | ||
<pre>{children}</pre> | ||
@@ -9,0 +7,0 @@ </div> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
522944
25
1
Updated@codedrop/constants@^0.1.5