Skip to content

Commit f9cb1a8

Browse files
author
Ben Taylor
authored
Update README.md
1 parent e755e3f commit f9cb1a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ React Structured Data provides an easy way to add structured data to your React
1616

1717
The following JSX:
1818

19-
```html
19+
```jsx
2020
<JSONLD>
2121
<Product name="Product Name">
2222
<AggregateRating ratingValue={4.3} reviewCount={197}/>
@@ -140,7 +140,7 @@ Generic and GenericCollection allow you to add your own structured data type.
140140

141141
For example, If Review preset didn't exist, you could write:
142142

143-
```html
143+
```jsx
144144
<JSONLD>
145145
<Generic type="review" jsonldtype="Review" schema={{name: "It is awesome", reviewBody: "This is great!"}}>
146146
<Generic type="itemReviewed" jsonldtype="Product" schema={{"@id":"product-x"}} />

0 commit comments

Comments
 (0)