Skip to content

Commit 2277281

Browse files
Update README.md
1 parent d363722 commit 2277281

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

README.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ Cloudinary offers comprehensive APIs and administration capabilities and is easy
99

1010
Cloudinary provides URL and HTTP based APIs that can be easily integrated with any Web development framework.
1111

12-
## Getting started guide
13-
14-
![](http://res.cloudinary.com/cloudinary/image/upload/see_more_bullet.png) **Take a look at our [Getting started guide for jQuery](http://cloudinary.com/documentation/jquery_integration#getting_started_guide)**.
15-
1612
## Installation
1713

1814

@@ -31,20 +27,21 @@ Cloudinary provides URL and HTTP based APIs that can be easily integrated with a
3127

3228
## Setup
3329

34-
In order to properly use this library you have to provide it with a few configuration parameters. All configuration parameters can be applied directly to the element or usign a CloudinaryContext element.
30+
In order to properly use this library you have to provide it with a few configuration parameters. All configuration parameters can be applied directly to the element or using a CloudinaryContext element.
3531

3632

3733
```
3834
ReactDOM.render(
3935
<div>
4036
<h1>Hello, world!</h1>
4137
<Image cloudName="demo" publicId="sample" width="300" crop="scale"/>
42-
{ /* or using the namespace cloudinaryReact */ }
43-
<cloudinaryReact.CloudinaryContext cloudName="demo">
44-
<cloudinaryReact.Image publicId="sample">
45-
<cloudinaryReact.Transformation width="200" crop="scale" angle="10"/>
46-
</cloudinaryReact.Image>
47-
</cloudinaryReact.CloudinaryContext>
38+
// Or for more advanced usage:
39+
// import {CloudinaryContext, Transformation} from 'cloudinary-react';
40+
<CloudinaryContext cloudName="demo">
41+
<Image publicId="sample">
42+
<Transformation width="200" crop="scale" angle="10"/>
43+
</Image>
44+
</CloudinaryContext>
4845
</div>,
4946
document.getElementById('example')
5047
);

0 commit comments

Comments
 (0)