@transifex/react
Advanced tools
Comparing version 7.1.0 to 7.1.1
@@ -185,3 +185,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
function LanguagePicker({ | ||
className | ||
className = '' | ||
}) { | ||
@@ -206,5 +206,2 @@ const languages = useLanguages(); | ||
}; | ||
LanguagePicker.defaultProps = { | ||
className: '' | ||
}; | ||
@@ -217,3 +214,2 @@ function T({ | ||
} | ||
T.defaultProps = {}; | ||
T.propTypes = { | ||
@@ -225,3 +221,3 @@ _str: PropTypes.string.isRequired | ||
_str, | ||
_inline, | ||
_inline = false, | ||
...props | ||
@@ -242,5 +238,2 @@ }) { | ||
} | ||
UT.defaultProps = { | ||
_inline: false | ||
}; | ||
UT.propTypes = { | ||
@@ -247,0 +240,0 @@ _str: PropTypes.string.isRequired, |
@@ -182,3 +182,3 @@ import React, { createContext, useContext, useState, useEffect, Fragment, useCallback } from 'react'; | ||
function LanguagePicker({ | ||
className | ||
className = '' | ||
}) { | ||
@@ -203,5 +203,2 @@ const languages = useLanguages(); | ||
}; | ||
LanguagePicker.defaultProps = { | ||
className: '' | ||
}; | ||
@@ -214,3 +211,2 @@ function T({ | ||
} | ||
T.defaultProps = {}; | ||
T.propTypes = { | ||
@@ -222,3 +218,3 @@ _str: PropTypes.string.isRequired | ||
_str, | ||
_inline, | ||
_inline = false, | ||
...props | ||
@@ -239,5 +235,2 @@ }) { | ||
} | ||
UT.defaultProps = { | ||
_inline: false | ||
}; | ||
UT.propTypes = { | ||
@@ -244,0 +237,0 @@ _str: PropTypes.string.isRequired, |
{ | ||
"name": "@transifex/react", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"description": "i18n React framework using Transifex Native", | ||
@@ -48,3 +48,3 @@ "keywords": [ | ||
"@testing-library/react": "^14.1.2", | ||
"@transifex/native": "^7.1.0", | ||
"@transifex/native": "^7.1.1", | ||
"eslint": "^8.56.0", | ||
@@ -51,0 +51,0 @@ "eslint-config-airbnb": "^19.0.4", |
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
68217
502