Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit e27f17c

Browse files
committed
Proptypes
1 parent e789f48 commit e27f17c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-nice-input-password",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "React input password component",
55
"main": "dist/react-nice-input-password.js",
66
"style": "dist/react-nice-input-password.css",

src/NiceInputPassword.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const propTypes = {
2121
securityLevels: PropTypes.arrayOf(PropTypes.shape({
2222
descriptionLabel: PropTypes.oneOfType([
2323
PropTypes.string,
24+
PropTypes.object,
2425
PropTypes.element,
2526
]).isRequired,
2627
validator: PropTypes.oneOfType([

0 commit comments

Comments
 (0)