Skip to content

Commit bba0932

Browse files
committed
Update style prop docs
Ref #8
1 parent dd0b682 commit bba0932

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ The [`class`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attribute
190190
191191
### `style`
192192
193-
The [`style`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style) attribute of the div containing CSS styles, e.g. `<CytoscapeComponent style="width: 600px; height: 600px;" />`.
193+
The [`style`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style) attribute of the div containing CSS styles, e.g. `<CytoscapeComponent style={ { width: '600px', height: '600px' } } />`.
194194
195195
## Custom prop types
196196

0 commit comments

Comments
 (0)