Sandbox
Loading Sandbox...
APIPermalink for this section
The Sandbox
component takes the following props:
repo
Permalink for this section
- Type:
string
- Default: ``
The GitHub repository to use. This should be in the format owner/repo
.
branch
Permalink for this section
- Type:
string
- Default:
main
The branch to use. Defaults to main
.
dir
Permalink for this section
- Type:
string
- Default: ``
The directory to use. Defaults to the root of the repository.
file
Permalink for this section
- Type:
string
- Default: ``
The file to use.
minHeight
Permalink for this section
- Type:
string
- Default:
700px
The minimum height of the iframe. Defaults to 700px
.