You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,22 +97,22 @@ will add the following to your markup (will be minified):
97
97
98
98
#### Generic Component PropTypes
99
99
100
-
| PropType | Value| Description |
101
-
| ------------- |:-------------:|:------|
102
-
| type | String | The @type description in the json-ld body: ```"@type": "Product"```|
103
-
| jsonldtype | String |The value of the @type description in the json-ld body: ```"@type": "Product"```|
104
-
| schema | Object (json)| This should be the schema that you want for your structured data node: ```{name: "It is awesome", reviewBody: "This is great!"}```|
100
+
| PropType | Value | Description |
101
+
| ------------- |-------------|------|
102
+
| type | String | The @type description in the json-ld body: `"@type": "Product"`|
103
+
| jsonldtype | String |The value of the @type description in the json-ld body: `"@type": "Product"`|
104
+
| schema | Object (json) | This should be the schema that you want for your structured data node: `{name: "It is awesome", reviewBody: "This is great!"}`|
105
105
106
106
#### JSONLD node propTypes
107
-
| PropType | Value| Description |
108
-
| ------------- |:-------------:|:------|
109
-
| dangerouslyExposeHtml | Boolean |Set this to render the json within script tag using ```dangerouslySetInnerHTML```|
107
+
| PropType | Value| Description |
108
+
| ------------- |-----------|------|
109
+
| dangerouslyExposeHtml | Boolean | Set this to render the json within script tag using `dangerouslySetInnerHTML`|
110
110
111
111
#### Schema node PropTypes
112
-
| PropType | Value| Description |
113
-
| ------------- |:-------------:|:------|
114
-
| parentID | String | This sets the id of the schema that becomes a reference that the children point to ```"@id": "product-x"```|
115
-
| id | String | similar to parentID but uses the ID on itself |
112
+
| PropType | Value | Description |
113
+
| ------------- |-------------|------|
114
+
| parentID | String | Sets the id of the schema that becomes a reference that the children point to `"@id": "product-x"`|
115
+
| id | String | similar to parentID but uses the ID on itself |
116
116
117
117
### Preset Components
118
118
There are several preset schema components that can be used
0 commit comments