@govuk-react/label-text
Advanced tools
Comparing version 0.2.7 to 0.2.12
@@ -45,6 +45,2 @@ var _styled; | ||
LabelText.propTypes = process.env.NODE_ENV !== "production" ? { | ||
/** Text for the label */ | ||
children: PropTypes.node.isRequired | ||
} : {}; | ||
export default withWhiteSpace({ | ||
@@ -51,0 +47,0 @@ marginBottom: 0 |
@@ -58,7 +58,2 @@ "use strict"; | ||
LabelText.propTypes = process.env.NODE_ENV !== "production" ? { | ||
/** Text for the label */ | ||
children: _propTypes.default.node.isRequired | ||
} : {}; | ||
var _default = (0, _hoc.withWhiteSpace)({ | ||
@@ -65,0 +60,0 @@ marginBottom: 0 |
{ | ||
"name": "@govuk-react/label-text", | ||
"version": "0.2.7", | ||
"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-text", | ||
"description": "Styled span element 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
24055
267