State label
State label is used for rendering the status of an item.
On this page
- @primer/react@36.16.0
- Alpha
- Not reviewed for accessibility
On this page
Import
import {StateLabel} from '@primer/react'
Examples
Props
StateLabel
Name | Default | Description |
---|---|---|
variant | 'normal' | 'small' | 'normal' |
statusRequired | 'issueOpened' | 'issueClosed' | 'issueClosedNotPlanned' | 'pullOpened' | 'pullClosed' | 'pullMerged' | 'draft' | 'issueDraft' | 'unavailable' | |
sx | SystemStyleObject |