State indicator

Provide information about the status of a parent element

Code


                                                        
                                                        
                                                            <PyxisStateIndicator 
                                                            label="Active"
                                                        />
                                                        
                                                            

Example of a regular StateIndicator component

Props

The StateIndicator component supports the following Props:

Name

Type

Default

Required

label

string

undefined

true

type

status|action

status

false

status

active|pending|expired|suspended|regular

active

false

actionPassed

boolean

undefined

false

actionDetails

string

undefined

false

iconClass

string

undefined

false

color

'primary'|'secondary'|'warning'|'danger'|'success'|'premium'|'earth'|'neptune'|'jupiter'|'cloudy'|'system'

undefined

false

labelledBy

string

undefined

false

dataTestid

string

undefined

false