@govuk-react/error-text
Advanced tools
Comparing version 0.2.7 to 0.2.12
@@ -40,6 +40,2 @@ var _styled; | ||
ErrorText.propTypes = process.env.NODE_ENV !== "production" ? { | ||
/** Text to describe the error */ | ||
children: PropTypes.string.isRequired | ||
} : {}; | ||
export default withWhiteSpace({ | ||
@@ -46,0 +42,0 @@ marginBottom: 0 |
@@ -53,7 +53,2 @@ "use strict"; | ||
ErrorText.propTypes = process.env.NODE_ENV !== "production" ? { | ||
/** Text to describe the error */ | ||
children: _propTypes.default.string.isRequired | ||
} : {}; | ||
var _default = (0, _hoc.withWhiteSpace)({ | ||
@@ -60,0 +55,0 @@ marginBottom: 0 |
{ | ||
"name": "@govuk-react/error-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/error-text", | ||
"description": "Renders a styled span element containing children provided.", | ||
"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
20147
214