diff --git a/packages/components/src/sandbox/README.md b/packages/components/src/sandbox/README.md index 3d3ad1c1f30b6..406b54d3de1bd 100644 --- a/packages/components/src/sandbox/README.md +++ b/packages/components/src/sandbox/README.md @@ -11,3 +11,46 @@ const MySandBox = () => ( ); ``` + +## Props + +### `html`: `string` + +The HTML to render in the body of the iframe document. + +- Required: No +- Default: "" + +### `onFocus`: `React.DOMAttributes< HTMLIFrameElement >[ 'onFocus' ]` + +The `onFocus` callback for the iframe. + +- Required: No + +### `scripts`: `string[]` + +An array of script URLs to inject as `