StateLabel
StateLabel is used for rendering the status of an issue or pull request.
React
readyNot reviewed for a11y
Rails
readyNot reviewed for a11y
Figma
React examples
Default
Open
Status variants
Each status variant has an associated icon, selected based on the status type and whether it applies to an issue or pull request.
Issue statuses
DraftOpenClosedClosedUnavailable
Pull request statuses
DraftOpenMergedClosedUnavailable
Small size variant
DefaultSmall
Props
StateLabel
Name | Required | Description |
---|---|---|
variant | 'small' | 'normal' | |
status | Required | 'issueOpened' | 'issueClosed' | 'issueClosedNotPlanned' | 'pullOpened' | 'pullClosed' | 'pullMerged' | 'draft' | 'issueDraft' | 'unavailable' |
sx | SystemStyleObject |