Skip to content

Commit

Permalink
Update script.md (#40017)
Browse files Browse the repository at this point in the history
Adding id property for inline script 

Co-authored-by: Sukka <isukkaw@gmail.com>
  • Loading branch information
sanjaiyan-dev and SukkaW committed Aug 28, 2022
1 parent d592d20 commit ca807d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/basic-features/script.md
Expand Up @@ -113,6 +113,7 @@ Scripts that use the `afterInteractive` strategy are injected client-side and wi

```jsx
<Script
id="google-analytics"
strategy="afterInteractive"
dangerouslySetInnerHTML={{
__html: `
Expand Down

0 comments on commit ca807d6

Please sign in to comment.