Skip to content

Commit

Permalink
update content
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaypratap003 committed Apr 29, 2024
1 parent 458b80d commit 32ba75e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: Description list
section: components
---

import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';

## Demos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
Title,
Divider
} from '@patternfly/react-core';
import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';

export const DescriptionListBasic: React.FunctionComponent = () => (
Expand All @@ -38,29 +38,41 @@ export const DescriptionListBasic: React.FunctionComponent = () => (
<DescriptionList isFillColumns columnModifier={{ default: '2Col', lg: '3Col' }}>
<DescriptionListGroup>
<DescriptionListTerm>Name</DescriptionListTerm>
<DescriptionListDescription>Example</DescriptionListDescription>
<DescriptionListDescription>mary-test</DescriptionListDescription>
</DescriptionListGroup>
<DescriptionListGroup>
<DescriptionListTerm>Namespace</DescriptionListTerm>
<DescriptionListTerm>Network Policies</DescriptionListTerm>
<DescriptionListDescription>
<a href="#">mary-test</a>
<a href="#">Network Policies</a>
</DescriptionListDescription>
</DescriptionListGroup>
<DescriptionListGroup>
<DescriptionListTerm>Labels</DescriptionListTerm>
<DescriptionListDescription>example</DescriptionListDescription>
</DescriptionListGroup>
<DescriptionListGroup>
<DescriptionListTerm>Pod selector</DescriptionListTerm>
<DescriptionListTerm>Status</DescriptionListTerm>
<DescriptionListDescription>
<Button variant="link" isInline icon={<PlusCircleIcon />}>
app=MyApp
<Button variant="link" isInline icon={<CheckCircleIcon color="green" />}>
Active
</Button>
</DescriptionListDescription>
</DescriptionListGroup>
<DescriptionListGroup>
<DescriptionListTerm>Annotation</DescriptionListTerm>
<DescriptionListDescription>2 Annotations</DescriptionListDescription>
<DescriptionListTerm>Display name</DescriptionListTerm>
<DescriptionListDescription>mary</DescriptionListDescription>
</DescriptionListGroup>
<DescriptionListGroup>
<DescriptionListTerm>Default pull secret</DescriptionListTerm>
<DescriptionListDescription>Not configured</DescriptionListDescription>
</DescriptionListGroup>
<DescriptionListGroup>
<DescriptionListTerm>Requester</DescriptionListTerm>
<DescriptionListDescription>kube:admin</DescriptionListDescription>
</DescriptionListGroup>
<DescriptionListGroup>
<DescriptionListTerm>Tolerations</DescriptionListTerm>
<DescriptionListDescription>6 Tolerations</DescriptionListDescription>
</DescriptionListGroup>
<DescriptionListGroup>
<DescriptionListTerm>Created at:</DescriptionListTerm>
<DescriptionListDescription>3 minutes ago</DescriptionListDescription>
</DescriptionListGroup>
</DescriptionList>
</CardBody>
Expand Down

0 comments on commit 32ba75e

Please sign in to comment.