Skip to content

On this page

StateLabel

Use state label to show the status of an issue or pull request.
  • Alpha
  • Not reviewed for accessibility
On this page

Examples

Props

StateLabel

NameTypeDefaultDescription
variant
'small' | 'normal'
'normal'
status Required
'issueOpened' | 'issueClosed' | 'issueClosedNotPlanned' | 'pullOpened' | 'pullClosed' | 'pullMerged' | 'draft' | 'issueDraft'
sx
SystemStyleObject
Style overrides to apply to the component. See also overriding styles.