File tree Expand file tree Collapse file tree
container/CRUD/Permission Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 ]
2424 },
2525 "devDependencies" : {
26- "lerna" : " ^4.0.0" ,
26+ "@babel/eslint-parser" : " ^7.15.8" ,
27+ "@babel/plugin-proposal-class-properties" : " ^7.14.5" ,
28+ "@babel/plugin-transform-react-jsx" : " ^7.14.9" ,
2729 "commitizen" : " ^4.2.4" ,
2830 "conventional-github-releaser" : " ^3.1.2" ,
2931 "cz-lerna-changelog" : " ^2.0.3" ,
30- "@babel/plugin-proposal-class-properties" : " ^7.14.5" ,
31- "@babel/plugin-transform-react-jsx" : " ^7.14.9" ,
3232 "eslint" : " ^7.32.0" ,
3333 "eslint-config-airbnb" : " ^18.2.1" ,
3434 "eslint-import-resolver-alias" : " ^1.1.2" ,
3535 "eslint-plugin-import" : " ^2.22.2" ,
3636 "eslint-plugin-jsx-a11y" : " ^6.4.1" ,
3737 "eslint-plugin-react" : " ^7.26.1" ,
3838 "eslint-plugin-react-hooks" : " ^4.2.0" ,
39+ "lerna" : " ^4.0.0" ,
3940 "react-app-rewire-aliases" : " ^0.2.0" ,
4041 "react-app-rewired" : " ^2.1.8" ,
41- "@babel/eslint-parser " : " ^7.15.8 " ,
42+ "react-error-overlay " : " ^6.0.9 " ,
4243 "supertest" : " ^6.1.6"
4344 },
4445 "config" : {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ IconBox.propTypes = {
4848 /**
4949 * Additional Icon
5050 */
51- icon : PropTypes . objectOf ( PropTypes . any ) ,
51+ icon : PropTypes . node ,
5252 /**
5353 * Additional icon true false
5454 */
Original file line number Diff line number Diff line change 11/* eslint-disable no-nested-ternary */
22import React from 'react' ;
3- import PropTypes from 'prop-types' ;
43// import ReactTooltip from 'react-tooltip';
54import { cloneDeep , isEmpty } from 'lodash' ;
65import { Icons } from '@dhiwise/icons' ;
@@ -181,22 +180,3 @@ function PermissionItem(props) {
181180 ) ;
182181}
183182export default PermissionItem ;
184- PermissionItem . propTypes = {
185- /**
186- * display title
187- */
188- title : PropTypes . string . isRequired ,
189- /**
190- * permission object
191- */
192- permission : PropTypes . objectOf ( PropTypes . any ) ,
193- /**
194- * function to change checkbox selection
195- */
196- onChange : PropTypes . func . isRequired ,
197- /**
198- * set of permission actions
199- */
200- permissionSet : PropTypes . objectOf ( PropTypes . any ) . isRequired ,
201-
202- } ;
You can’t perform that action at this time.
0 commit comments