Interface: SandpackPreviewRef
Properties
clientId
• clientId: string
Returns the client id, which will be used to initialize a client in the main Sandpack context
Defined in
sandpack-react/src/components/Preview/index.tsx:76
Methods
getClient
▸ getClient(): undefined
| SandpackClient
Retrieve the current Sandpack client instance from preview
Returns
undefined
| SandpackClient
Defined in
sandpack-react/src/components/Preview/index.tsx:71