BadgeSecondary

Component for highlighted information

<BadgeSecondary>Info</BadgeSecondary>
<br /><br />
<BadgeSecondary variant="success">Success</BadgeSecondary>
<br /><br />
<BadgeSecondary variant="warning">Warning</BadgeSecondary>
<br /><br />
<BadgeSecondary variant="error">Error</BadgeSecondary>
<br /><br />
<BadgeSecondary variant="archived">Archived</BadgeSecondary>
<br /><br />
<BadgeSecondary variant="error">123</BadgeSecondary>
<BadgeSecondary variant="archived" sx={{ ml: 3 }}>123</BadgeSecondary>
<BadgeSecondary variant="info" sx={{ ml: 3 }}>New</BadgeSecondary>

Props

PropTypeDefaultDescription
childrenstring | numberData to be displayed inside of the colored block (required).
variant'success' | 'info' | 'warning' | 'error' | 'archived'infoColor of the BadgeSecondary
typographyPropsTypographyPropsProps forwarded onto the Typography component
sxSxPropsSx props for 'Box'