Skip to content

Commit

Permalink
docs(DataTable): remove example form inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Apr 6, 2021
1 parent 9d531a0 commit 6debd05
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions packages/react/src/components/DataTable/stories/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import React from 'react';
import { action } from '@storybook/addon-actions';
import Link from '../../Link';
import Select from '../../Select';
import SelectItem from '../../SelectItem';

export const rows = [
{
Expand All @@ -19,12 +17,6 @@ export const rows = [
rule: 'Round robin',
attached_groups: 'Kevin’s VM Groups',
status: <Link>Disabled</Link>,
foo: (
<Select id="bar" noLabel size="sm">
<SelectItem value={1} text="1" />
<SelectItem value={2} text="2" />
</Select>
),
},
{
id: 'b',
Expand All @@ -34,12 +26,6 @@ export const rows = [
rule: 'Round robin',
attached_groups: 'Maureen’s VM Groups',
status: <Link>Starting</Link>,
foo: (
<Select id="bar" noLabel size="sm">
<SelectItem value={1} text="1" />
<SelectItem value={2} text="2" />
</Select>
),
},
{
id: 'c',
Expand All @@ -49,12 +35,6 @@ export const rows = [
rule: 'DNS delegation',
attached_groups: 'Andrew’s VM Groups',
status: <Link>Active</Link>,
foo: (
<Select id="bar" noLabel size="sm">
<SelectItem value={1} text="1" />
<SelectItem value={2} text="2" />
</Select>
),
},
{
id: 'd',
Expand All @@ -64,12 +44,6 @@ export const rows = [
rule: 'Round robin',
attached_groups: 'Marc’s VM Groups',
status: <Link>Disabled</Link>,
foo: (
<Select id="bar" noLabel size="sm">
<SelectItem value={1} text="1" />
<SelectItem value={2} text="2" />
</Select>
),
},
{
id: 'e',
Expand All @@ -79,12 +53,6 @@ export const rows = [
rule: 'Round robin',
attached_groups: 'Mel’s VM Groups',
status: <Link>Starting</Link>,
foo: (
<Select id="bar" noLabel size="sm">
<SelectItem value={1} text="1" />
<SelectItem value={2} text="2" />
</Select>
),
},
{
id: 'f',
Expand All @@ -94,12 +62,6 @@ export const rows = [
rule: 'DNS delegation',
attached_groups: 'Ronja’s VM Groups',
status: <Link>Active</Link>,
foo: (
<Select id="bar" noLabel size="sm">
<SelectItem value={1} text="1" />
<SelectItem value={2} text="2" />
</Select>
),
},
];

Expand Down Expand Up @@ -128,10 +90,6 @@ export const headers = [
key: 'status',
header: 'Status',
},
{
key: 'foo',
header: 'foo',
},
];

export const batchActionClick = (selectedRows) => () =>
Expand Down

0 comments on commit 6debd05

Please sign in to comment.