Skip to content

Commit

Permalink
fix(Card demo): add status icon color for Status Tabbed demo
Browse files Browse the repository at this point in the history
  • Loading branch information
adamviktora committed May 29, 2024
1 parent b5dbe1a commit 09861f1
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions packages/react-core/src/demos/examples/Card/CardStatusTabbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
DescriptionListTerm,
Flex,
FlexItem,
Icon,
Tab,
TabContent,
Tabs,
Expand All @@ -23,25 +24,41 @@ const descriptionListData = [
status: 'Running',
resourceName: 'Resource name that is long and can wrap',
detail: '121 Systems',
icon: <CheckCircleIcon />
icon: (
<Icon status="success">
<CheckCircleIcon />
</Icon>
)
},
{
status: 'Ready',
status: 'Failed',
resourceName: 'Resource name that is long and can wrap',
detail: '123 Systems',
icon: <ExclamationCircleIcon />
icon: (
<Icon status="danger">
<ExclamationCircleIcon />
</Icon>
)
},
{
status: 'Running',
resourceName: 'Resource name that is long and can wrap',
detail: '122 Systems',
icon: <CheckCircleIcon />
icon: (
<Icon status="success">
<CheckCircleIcon />
</Icon>
)
},
{
status: 'Ready',
status: 'Failed',
resourceName: 'Resource name that is long and can wrap',
detail: '124 Systems',
icon: <ExclamationCircleIcon />
icon: (
<Icon status="danger">
<ExclamationCircleIcon />
</Icon>
)
}
];

Expand Down

0 comments on commit 09861f1

Please sign in to comment.