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
react-scanner is not able to parse object props and it is giving such expressions in result- "(ObjectExpression)" or "(Identifier)". It is able to parse simple string values "Box": { "instances": [ { "importInfo": { "imported": "Box", "local": "Box", "moduleName": "@mui/material", "importType": "ImportSpecifier" }, "props": { "pb": 4, "display": "(ObjectExpression)", "alignItems": "center", "textAlign": "(ObjectExpression)", "justifyContent": "space-between" }, "propsSpread": false, "location": { "file": "/Users/temp/dashboard/src/components/Footer/index.tsx", "start": { "line": 12, "column": 7 } } }, ] }
"Box": { "instances": [ { "importInfo": { "imported": "Box", "local": "Box", "moduleName": "@mui/material", "importType": "ImportSpecifier" }, "props": { "pb": 4, "display": "(ObjectExpression)", "alignItems": "center", "textAlign": "(ObjectExpression)", "justifyContent": "space-between" }, "propsSpread": false, "location": { "file": "/Users/temp/dashboard/src/components/Footer/index.tsx", "start": { "line": 12, "column": 7 } } }, ] }
The text was updated successfully, but these errors were encountered:
react-scanner is not able to parse object props and it is giving such expressions in result- "(ObjectExpression)" or "(Identifier)".
It is able to parse simple string values
"Box": { "instances": [ { "importInfo": { "imported": "Box", "local": "Box", "moduleName": "@mui/material", "importType": "ImportSpecifier" }, "props": { "pb": 4, "display": "(ObjectExpression)", "alignItems": "center", "textAlign": "(ObjectExpression)", "justifyContent": "space-between" }, "propsSpread": false, "location": { "file": "/Users/temp/dashboard/src/components/Footer/index.tsx", "start": { "line": 12, "column": 7 } } }, ] }
The text was updated successfully, but these errors were encountered: