Conversation
|
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 494ef9e:
|
| * optional. Set initial display options for sandbox | ||
| */ | ||
| displayOptions?: { | ||
| docsPanelState?: 'open' | 'closed'; // default to 'open', |
There was a problem hiding this comment.
Why not adding the rest?
I think that it would be a good idea https://github.com/apollographql/embeddable-explorer/blob/main/packages/explorer/src/EmbeddedExplorer.ts#L17
This PR introduces the
displayOptionsthat's already available on the embedded Explorer in order to allow for a pre-collapsed docs panel on initial load with Sandbox.