Skip to content

Commit f5199cc

Browse files
authored
Merge pull request #23 from uploadcare/nd0ut-patch-1
chore: fix README.md markup
2 parents 7eb1ece + 3e85411 commit f5199cc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,7 @@ This options is available for the `UploadcareImage` component only. It won't wor
184184

185185
If you pass `placeholder="blur"` to the `UploadcareImage` component, it will generate `blurDataURL` with the URL of the placeholder image (not base64) and use it as a placeholder. You can override `blurDataURL`.
186186

187-
188187
```tsx
189-
190-
```jsx
191188
<UploadcareImage
192189
alt="A test image"
193190
src="https://your-domain/image.jpg"
@@ -202,7 +199,7 @@ If you pass `placeholder="blur"` to the `UploadcareImage` component, it will gen
202199

203200
You can use both `UploadcareImage` and `Image` component with custom loader. In this case Next.js will generate base64 encoded image for `blurDataURL` automatically during build time.
204201

205-
```jsx
202+
```tsx
206203
import staticImage from 'image.jpg'
207204

208205
<UploadcareImage

0 commit comments

Comments
 (0)