Sanity Library Reference Docs
Preparing search index...
@sanity/sdk
index
getPreviewState
Function getPreviewState
Deprecated
This function is deprecated and will be removed in a future release.
getPreviewState
<
TResult
extends
object
>
(
instance
:
SanityInstance
,
options
:
GetPreviewStateOptions
,
)
:
StateSource
<
ValuePending
<
TResult
>
>
Beta
Type Parameters
TResult
extends
object
Parameters
instance
:
SanityInstance
options
:
GetPreviewStateOptions
Returns
StateSource
<
ValuePending
<
TResult
>
>
Deprecated
This function is deprecated and will be removed in a future release.
getPreviewState
(
instance
:
SanityInstance
,
options
:
GetPreviewStateOptions
,
)
:
StateSource
<
ValuePending
<
PreviewValue
>
>
Beta
Parameters
instance
:
SanityInstance
options
:
GetPreviewStateOptions
Returns
StateSource
<
ValuePending
<
PreviewValue
>
>
Deprecated
This function is deprecated and will be removed in a future release.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Sanity Library Reference Docs
Loading...
Deprecated
This function is deprecated and will be removed in a future release.