Fix getInlineStyleTags/Elements docs. (#828)

* Fix getInlineStyleTags/Elements docs.

* Make wording more consistent.
This commit is contained in:
PatrickNausha 2021-09-03 17:49:01 -07:00 committed by GitHub
parent 629c80e42e
commit 1376eec79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ const head = renderToString(<head>{chunkExtractor.getStyleElements()}</head>)
## chunkExtractor.getInlineStyleTags
Get inline style links as a string of `<link>` tags (returns a promise).
Get inline styles as a string of `<style>` tags (returns a promise).
| Arguments | Description |
| ------------------------ | ---------------------------------------------------------------------------------------------------------- |
@ -147,7 +147,7 @@ chunkExtractor.getInlineStyleTags()
## chunkExtractor.getInlineStyleElements
Get inline style links as an array of React `<link>` elements (returns a promise).
Get inline styles as an array of React `<style>` elements (returns a promise).
| Arguments | Description |
| ------------------------ | -------------------------------------------------------------------------------------------------------------- |