Skip to content

StateLabel

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

Default example

OpenClosedOpenClosedMergedDraft

System props

StateLabel components get COMMON system props. Read our System Props doc page for a full list of available props.

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, pullOpened, pullClosed, pullMerged, or draft.
Edit this page on GitHub
3 contributorsBinaryMusetiaanduplessisemplums
Last edited by BinaryMuse on May 5, 2020