Skip to content

Commit 9e82a99

Browse files
committed
Tweak changesets created in #2521
1 parent d9b247d commit 9e82a99

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.changeset/seventy-balloons-build.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@emotion/sheet': minor
3+
---
4+
5+
author: @mnajdova
6+
pr: #2521
7+
8+
Added `insertionPoint` option to the `Sheet`'s constructor. It can be used to insert rules after the specified element.

.changeset/sixty-balloons-build.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
'@emotion/cache': minor
3-
'@emotion/sheet': minor
43
---
54

6-
Add insertionPoint option to the EmotionCache, to insert rules after the specified element.
5+
Added `insertionPoint` option to the `createCache`. It can be used to insert rules after the specified element. For example, to use it with the `CacheProvider` from `@emotion/react` you can do this:
76

87
```jsx
98
const head = document.querySelector('head')

0 commit comments

Comments
 (0)