Skip to content

Commit

Permalink
docs(data-table): fix link appearance in datatable stories (#13905)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea N. Cardona <[email protected]>
  • Loading branch information
janhassel and andreancardona authored Jun 7, 2023
1 parent dec78c7 commit 0d912bd
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions packages/react/src/components/DataTable/stories/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ export const rows = [
port: 3000,
rule: 'Round robin',
attached_groups: 'Kevin’s VM Groups',
status: <Link disabled={true}>Disabled</Link>,
status: (
<Link href="#" disabled={true}>
Disabled
</Link>
),
},
{
id: 'b',
Expand All @@ -25,7 +29,7 @@ export const rows = [
port: 443,
rule: 'Round robin',
attached_groups: 'Maureen’s VM Groups',
status: <Link>Starting</Link>,
status: <Link href="#">Starting</Link>,
},
{
id: 'c',
Expand All @@ -34,7 +38,7 @@ export const rows = [
port: 80,
rule: 'DNS delegation',
attached_groups: 'Andrew’s VM Groups',
status: <Link>Active</Link>,
status: <Link href="#">Active</Link>,
},
{
id: 'd',
Expand All @@ -43,7 +47,11 @@ export const rows = [
port: 3000,
rule: 'Round robin',
attached_groups: 'Marc’s VM Groups',
status: <Link disabled={true}>Disabled</Link>,
status: (
<Link href="#" disabled={true}>
Disabled
</Link>
),
},
{
id: 'e',
Expand All @@ -52,7 +60,7 @@ export const rows = [
port: 443,
rule: 'Round robin',
attached_groups: 'Mel’s VM Groups',
status: <Link>Starting</Link>,
status: <Link href="#">Starting</Link>,
},
{
id: 'f',
Expand All @@ -61,7 +69,7 @@ export const rows = [
port: 80,
rule: 'DNS delegation',
attached_groups: 'Ronja’s VM Groups',
status: <Link>Active</Link>,
status: <Link href="#">Active</Link>,
},
];

Expand Down

0 comments on commit 0d912bd

Please sign in to comment.