mirror of
https://github.com/gregberge/loadable-components.git
synced 2025-12-08 19:46:26 +00:00
Fix getInlineStyleTags/Elements docs. (#828)
* Fix getInlineStyleTags/Elements docs. * Make wording more consistent.
This commit is contained in:
parent
629c80e42e
commit
1376eec79b
@ -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 |
|
||||
| ------------------------ | -------------------------------------------------------------------------------------------------------------- |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user