Update script.md (#40017)

Adding id property for inline script 

Co-authored-by: Sukka <isukkaw@gmail.com>
This commit is contained in:
Sanjaiyan Parthipan 2022-08-29 00:12:11 +05:30 committed by GitHub
parent d592d20673
commit ca807d66f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,6 +113,7 @@ Scripts that use the `afterInteractive` strategy are injected client-side and wi
```jsx ```jsx
<Script <Script
id="google-analytics"
strategy="afterInteractive" strategy="afterInteractive"
dangerouslySetInnerHTML={{ dangerouslySetInnerHTML={{
__html: ` __html: `