Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Jan 19, 2023
1 parent 8337e9f commit 23585fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-codemod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ Remove `imgProps` prop by transferring its value into `slotProps.img`
This change only affects Joy UI Avatar component.

```diff
<Avatar
<Avatar
- imgProps={{ ['data-id']: 'imageId' }}
- slotProps={{ root: { ['data-id']: 'rootId' }}}
+ slotProps={{ root: { ['data-id']: 'rootId' }, img: { ['data-id']: 'imageId' } }}
/>
/>;
```

```sh
Expand Down

0 comments on commit 23585fe

Please sign in to comment.