Sanity Library Reference Docs
Preparing search index...
@sanity/workflow-components
roleLabelFor
Function roleLabelFor
roleLabelFor
(
vocabulary
:
RoleVocabulary
,
name
:
string
)
:
string
memberRoleFor
then
roleLabel
, for a caller that only needs the string.
Parameters
vocabulary
:
RoleVocabulary
name
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Sanity Library Reference Docs
Loading...
memberRoleFor then roleLabel, for a caller that only needs the string.