Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 10, 2024
1 parent fa38dc4 commit 110c916
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,11 @@ When using `ServerTarget`, use the CSS general sibling combinator (~):

#### Content Security Policy

If you are using CSP rules for CSS files, you can pass `nonce` argument. If `nonce` is not supplied transition styles will not be applied. This may allow patched transitions throught the page in some cases.
If you are using CSP rules for CSS files, you can pass `nonce` argument to the `Core` component. If `nonce` is not supplied transition styles will not be applied. This may allow patched transitions throught the page in some cases.

```tsx
<Core nonce={yourNonce} t="transition: all .5s" />
```

### Images

Expand Down

0 comments on commit 110c916

Please sign in to comment.