Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(overlay issue no able to click): propstypes forbidden remove and … #28

Merged
merged 1 commit into from
Apr 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,

};