Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
fers4t committed Dec 12, 2022
1 parent 68df448 commit e0c1f16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cloudinary-react-widget
# cloudinary-next-widget

Next.js component for [Cloudinary Upload Widget](https://cloudinary.com/documentation/upload_widget)

Expand All @@ -7,14 +7,14 @@ Next.js component for [Cloudinary Upload Widget](https://cloudinary.com/document
I did not release it on NPM for now. So you can install it like this;

```bash
pnpm add fers4t/cloudinary-react-widget
pnpm add fers4t/cloudinary-next-widget
```

### Usage

```tsx
import React, { useState } from 'react';
import { CloudinaryUpload } from 'cloudinary-react-widget';
import { CloudinaryUpload } from 'cloudinary-next-widget';

export default function Home() {
const [callbacks, setCallbacks] = useState();
Expand All @@ -34,7 +34,7 @@ You can track all callbacks with `onUpload` prop. I'm storing all of them.

```tsx
import React, { useState } from 'react';
import { CloudinaryUpload } from 'cloudinary-react-widget';
import { CloudinaryUpload } from 'cloudinary-next-widget';

export default function Home() {
const [callbacks, setCallbacks] = useState();
Expand Down

0 comments on commit e0c1f16

Please sign in to comment.