Skip to content

Commit

Permalink
update import statements and header spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
benmneb committed Oct 8, 2021
1 parent 21ec316 commit aedaa42
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<p align="center">
<strong><a href="https://mui-image.surge.sh">Demo Playground ↗️</a></strong> <br />
</p>
<br />

### If you're already using [Material-UI v5](https://mui.com), why not display your images according to the Material guidelines too?

Expand All @@ -34,7 +33,13 @@ or
### 2. Use

```
import Image from 'mui-image' || import { Image } from 'mui-image'
import Image from 'mui-image'
// or
import { Image } from 'mui-image'
// then
<Image src="my-image.png" />
```
Expand Down Expand Up @@ -162,8 +167,6 @@ Any other props (eg. `sx`, `onLoad`) are passed directly to the native `img` ele
| Optional shift animation |||
| Supports legacy MUI versions |||

---

## License

© [benmneb](https://github.com/benmneb)
Expand Down

0 comments on commit aedaa42

Please sign in to comment.