Sanity Library Reference Docs
Preparing search index...
sanity
index
DocumentFieldActionItem
Interface DocumentFieldActionItem
Beta
Hidden
interface
DocumentFieldActionItem
{
disabled
?:
boolean
|
{
reason
:
ReactNode
}
;
hidden
?:
boolean
;
i18n
?:
I18nTextRecord
<
"title"
>
;
icon
?:
ComponentType
;
iconRight
?:
ComponentType
;
onAction
:
()
=>
void
;
renderAsButton
?:
boolean
;
selected
?:
boolean
;
status
?:
DocumentFieldActionStatus
;
title
:
string
;
tone
?:
DocumentFieldActionTone
;
type
:
"action"
;
}
Index
Properties
disabled?
hidden?
i18n?
icon?
icon
Right?
on
Action
render
As
Button?
selected?
status?
title
tone?
type
Properties
Optional
Beta
disabled
disabled
?:
boolean
|
{
reason
:
ReactNode
}
Optional
Beta
hidden
hidden
?:
boolean
Optional
Beta
i18n
i18n
?:
I18nTextRecord
<
"title"
>
Optional
Beta
icon
icon
?:
ComponentType
Optional
Beta
icon
Right
iconRight
?:
ComponentType
Beta
on
Action
onAction
:
()
=>
void
Optional
Beta
render
As
Button
renderAsButton
?:
boolean
Optional
Beta
selected
selected
?:
boolean
Optional
Beta
status
status
?:
DocumentFieldActionStatus
Beta
title
title
:
string
Optional
Beta
tone
tone
?:
DocumentFieldActionTone
Beta
type
type
:
"action"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
disabled
hidden
i18n
icon
icon
Right
on
Action
render
As
Button
selected
status
title
tone
type
Sanity Library Reference Docs
Loading...
Hidden