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:75
Methods
getClient
▸ getClient(): null
| SandpackClient
Retrieve the current Sandpack client instance from preview
Returns
null
| SandpackClient
Defined in
sandpack-react/src/components/Preview/index.tsx:70