We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 536bf53 commit 9ad383cCopy full SHA for 9ad383c
package/index.js
@@ -17,7 +17,7 @@ export const createWebComponent = ({
17
asyncInitialization = () => Promise.resolve(),
18
loaderAttribute = 'data-web-component-loader',
19
hideSlotContentUntilMounted = false,
20
- nonce
+ nonce // Used for Content Security Policy (CSP) compliance - will be applied to inline styles
21
}) => {
22
if (!rootComponent) {
23
console.warn('No root component provided. Please provide a root component to create a web component.')
0 commit comments