@govuk-react/label
Advanced tools
Comparing version 0.2.9 to 0.2.12
@@ -43,6 +43,2 @@ // https://github.com/alphagov/govuk-frontend/tree/master/src/components/ | ||
Label.propTypes = process.env.NODE_ENV !== "production" ? { | ||
/** Text for the label */ | ||
children: PropTypes.node.isRequired | ||
} : {}; | ||
export default withWhiteSpace({ | ||
@@ -49,0 +45,0 @@ marginBottom: 0 |
@@ -56,7 +56,2 @@ "use strict"; | ||
Label.propTypes = process.env.NODE_ENV !== "production" ? { | ||
/** Text for the label */ | ||
children: _propTypes.default.node.isRequired | ||
} : {}; | ||
var _default = (0, _hoc.withWhiteSpace)({ | ||
@@ -63,0 +58,0 @@ marginBottom: 0 |
{ | ||
"name": "@govuk-react/label", | ||
"version": "0.2.9", | ||
"version": "0.2.12", | ||
"dependencies": { | ||
@@ -25,4 +25,4 @@ "@govuk-react/constants": "^0.2.7", | ||
"license": "MIT", | ||
"homepage": "https://github.com/UKHomeOffice/govuk-react#readme", | ||
"description": "govuk-react: A port of the govuk-frontend components for React using Emotion.", | ||
"homepage": "https://github.com/UKHomeOffice/govuk-react/tree/master/components/label", | ||
"description": "Styled label with children displayed as text.", | ||
"private": false, | ||
@@ -29,0 +29,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1
21037
230