Skip to content

Commit

Permalink
Merge pull request #28 from DhiWise/fix/click-overlay
Browse files Browse the repository at this point in the history
fix(overlay issue no able to click): propstypes forbidden remove and …
  • Loading branch information
saloni-dhiwise authored Apr 4, 2022
2 parents 9d0a4ff + 3abc5fa commit d61ac4d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,23 @@
]
},
"devDependencies": {
"lerna": "^4.0.0",
"@babel/eslint-parser": "^7.15.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"commitizen": "^4.2.4",
"conventional-github-releaser": "^3.1.2",
"cz-lerna-changelog": "^2.0.3",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.22.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"lerna": "^4.0.0",
"react-app-rewire-aliases": "^0.2.0",
"react-app-rewired": "^2.1.8",
"@babel/eslint-parser": "^7.15.8",
"react-error-overlay": "^6.0.9",
"supertest": "^6.1.6"
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/components/IconBox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ IconBox.propTypes = {
/**
* Additional Icon
*/
icon: PropTypes.objectOf(PropTypes.any),
icon: PropTypes.node,
/**
* Additional icon true false
*/
Expand Down
20 changes: 0 additions & 20 deletions packages/client/src/container/CRUD/Permission/PermissionItem.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-nested-ternary */
import React from 'react';
import PropTypes from 'prop-types';
// import ReactTooltip from 'react-tooltip';
import { cloneDeep, isEmpty } from 'lodash';
import { Icons } from '@dhiwise/icons';
Expand Down Expand Up @@ -181,22 +180,3 @@ function PermissionItem(props) {
);
}
export default PermissionItem;
PermissionItem.propTypes = {
/**
* display title
*/
title: PropTypes.string.isRequired,
/**
* permission object
*/
permission: PropTypes.objectOf(PropTypes.any),
/**
* function to change checkbox selection
*/
onChange: PropTypes.func.isRequired,
/**
* set of permission actions
*/
permissionSet: PropTypes.objectOf(PropTypes.any).isRequired,

};

0 comments on commit d61ac4d

Please sign in to comment.