Skip to content

StateLabel

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

Use StateLabel components to show the status of an issue or pull request.

Default example

Component props

NameTypeDefaultDescription
variantString'normal'a value of small or normal results in a smaller or larger version of the StateLabel.
statusStringCan be one of issueOpened, issueClosed, issueClosedNotPlanned, pullOpened, pullClosed, pullMerged, draft or issueDraft.
sxSystemStyleObject{}Style to be applied to the component
Edit this page on GitHub
8 contributorsanleaccolebemisjfuchsjapfSferaDevVanAndersonBinaryMusetiaanduplessis
Last edited by anleac on July 22, 2022