Skip to content

Commit

Permalink
fixed the issue with avatar and styled components
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshsevarthi committed Feb 18, 2020
1 parent 83075e8 commit 568eb10
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 38 deletions.
39 changes: 26 additions & 13 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"react-material-ui-form-validator": "^2.0.9",
"react-router-dom": "^5.1.2",
"react-scripts": "3.0.1",
"styled-components": "^4.4.1",
"unicef-material-ui": "file:.."
},
"scripts": {
Expand Down
66 changes: 44 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@
"dependencies": {
"react-form-validator-core": "^0.6.4",
"react-select": "^3.0.4",
"styled-components": "^5.0.1"
"styled-components": "^4.4.0"
}
}
2 changes: 1 addition & 1 deletion src/components/UPeoplePicker/UPeoplePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ export default function UPeoplePicker(props) {
options: PropTypes.array,
/** It accepts all the props from TextField API.
*
* `TextFieldProps={helperText = "text", inputProps={className: classes.textField}}`
* `TextFieldProps={{helperText:"text", onChange: {textFieldTargetValue}, inputProps:{className: classes.textField}}}`
*
*/
TextFieldProps: PropTypes.object,
Expand Down

0 comments on commit 568eb10

Please sign in to comment.