Skip to content

Commit

Permalink
📝 Updated readme of @emotion/cache for key attribute. (#2346)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan authored Apr 14, 2021
1 parent d759ae1 commit f3c51e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ A Stylis plugins that will be run by Stylis during preprocessing. [Read the Styl
### `key`

`string`
`string (Pattern: [^a-z-])`

The prefix before class names. It will also be set as the value of the `data-emotion` attribute on the style tags that emotion inserts and it's used in the attribute name that marks style elements in `renderStylesToString` and `renderStylesToNodeStream`. This is **required if using multiple emotion caches in the same app**.

Expand Down

0 comments on commit f3c51e8

Please sign in to comment.