Sanity Library Reference Docs
Preparing search index...
sanity
index
PortableTextPluginsProps
Interface PortableTextPluginsProps
Beta
Props for rendering Portable Text plugins
interface
PortableTextPluginsProps
{
plugins
:
{
markdown
?:
|
{
config
:
MarkdownConfig
}
|
MarkdownBehaviorsConfig
&
{}
&
{
config
?:
undefined
;
enabled
?:
boolean
;
}
;
typography
?:
{
enabled
?:
boolean
}
&
TypographyPluginProps
<
never
,
never
>
;
}
;
renderDefault
:
(
props
:
PortableTextPluginsProps
)
=>
Element
;
}
Index
Properties
plugins
render
Default
Properties
Beta
plugins
plugins
:
{
markdown
?:
|
{
config
:
MarkdownConfig
}
|
MarkdownBehaviorsConfig
&
{}
&
{
config
?:
undefined
;
enabled
?:
boolean
}
;
typography
?:
{
enabled
?:
boolean
}
&
TypographyPluginProps
<
never
,
never
>
;
}
Beta
render
Default
renderDefault
:
(
props
:
PortableTextPluginsProps
)
=>
Element
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
plugins
render
Default
Sanity Library Reference Docs
Loading...
Props for rendering Portable Text plugins