badgeLabel: the text that should be displayed on the badgebadgeColor: one ofGREY,GREEN,YELLOW,RED,BLUE
- Typescript SDK
- GraphQL
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Useful for statuses or when you need to attract attention to something.
badgeLabel: the text that should be displayed on the badgebadgeColor: one of GREY, GREEN, YELLOW, RED, BLUEimport { uiComponent } from '@team-plain/typescript-sdk';
uiComponent.badge({ label: 'Subscribed', color: 'GREEN' });
{
"componentBadge": {
"badgeLabel": "Subscribed",
"badgeColor": "GREEN"
}
}
Was this page helpful?
