Sanity Library Reference Docs
Preparing search index...
sanity
index
RenderPreviewCallbackProps
Interface RenderPreviewCallbackProps<TLayoutKey>
Hidden
interface
RenderPreviewCallbackProps
<
TLayoutKey
=
PreviewLayoutKey
>
{
actions
?:
ReactNode
|
ComponentType
<
{
layout
:
TLayoutKey
}
>
;
children
?:
ReactNode
;
error
?:
Error
;
fallbackTitle
?:
ReactNode
;
isPlaceholder
?:
boolean
;
layout
?:
TLayoutKey
;
mediaDimensions
?:
PreviewMediaDimensions
;
progress
?:
number
;
schemaType
:
SchemaType
;
skipVisibilityCheck
?:
boolean
;
status
?:
ReactNode
|
ComponentType
<
{
layout
:
TLayoutKey
}
>
;
style
?:
CSSProperties
;
value
:
unknown
;
withBorder
?:
boolean
;
withRadius
?:
boolean
;
withShadow
?:
boolean
;
}
Type Parameters
TLayoutKey
=
PreviewLayoutKey
Index
Properties
actions?
children?
error?
fallback
Title?
is
Placeholder?
layout?
media
Dimensions?
progress?
schema
Type
skip
Visibility
Check?
status?
style?
value
with
Border?
with
Radius?
with
Shadow?
Properties
Optional
actions
actions
?:
ReactNode
|
ComponentType
<
{
layout
:
TLayoutKey
}
>
Optional
children
children
?:
ReactNode
Optional
error
error
?:
Error
Optional
fallback
Title
fallbackTitle
?:
ReactNode
Optional
is
Placeholder
isPlaceholder
?:
boolean
Optional
layout
layout
?:
TLayoutKey
Optional
media
Dimensions
mediaDimensions
?:
PreviewMediaDimensions
Optional
progress
progress
?:
number
schema
Type
schemaType
:
SchemaType
Optional
skip
Visibility
Check
skipVisibilityCheck
?:
boolean
Optional
status
status
?:
ReactNode
|
ComponentType
<
{
layout
:
TLayoutKey
}
>
Optional
style
style
?:
CSSProperties
value
value
:
unknown
Optional
with
Border
withBorder
?:
boolean
Optional
with
Radius
withRadius
?:
boolean
Optional
with
Shadow
withShadow
?:
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
actions
children
error
fallback
Title
is
Placeholder
layout
media
Dimensions
progress
schema
Type
skip
Visibility
Check
status
style
value
with
Border
with
Radius
with
Shadow
Sanity Library Reference Docs
Loading...
Hidden