Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions src-docs/src/views/tables/in_memory/in_memory.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
import React from 'react';
import { formatDate } from '../../../../../src/services/format';
import { createDataStore } from '../data_store';
import {
OuiInMemoryTable,
OuiLink,
OuiHealth,
} from '../../../../../src/components';
import { OuiInMemoryTable, OuiHealth } from '../../../../../src/components';

/*
Example user object:
Expand All @@ -25,7 +21,6 @@ Example user object:
id: '1',
firstName: 'john',
lastName: 'doe',
github: 'johndoe',
dateOfBirth: Date.now(),
nationality: 'NL',
online: true
Expand Down Expand Up @@ -55,15 +50,6 @@ export const Table = () => {
name: 'Last Name',
truncateText: true,
},
{
field: 'github',
name: 'Github',
render: (username) => (
<OuiLink href="https://oui.opensearch.org/latest/" target="_blank">
{username}
</OuiLink>
),
},
{
field: 'dateOfBirth',
name: 'Date of Birth',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
import React, { useEffect, useState } from 'react';
import { formatDate } from '../../../../../src/services/format';
import { createDataStore } from '../data_store';
import {
OuiInMemoryTable,
OuiLink,
OuiHealth,
} from '../../../../../src/components';
import { OuiInMemoryTable, OuiHealth } from '../../../../../src/components';

/*
Example user object:
Expand All @@ -25,7 +21,6 @@ Example user object:
id: '1',
firstName: 'john',
lastName: 'doe',
github: 'johndoe',
dateOfBirth: Date.now(),
nationality: 'NL',
online: true
Expand Down Expand Up @@ -55,15 +50,6 @@ export const Table = () => {
name: 'Last Name',
truncateText: true,
},
{
field: 'github',
name: 'Github',
render: (username) => (
<OuiLink href="https://oui.opensearch.org/latest/" target="_blank">
{username}
</OuiLink>
),
},
{
field: 'dateOfBirth',
name: 'Date of Birth',
Expand Down
11 changes: 0 additions & 11 deletions src-docs/src/views/tables/in_memory/in_memory_search.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { formatDate } from '../../../../../src/services/format';
import { createDataStore } from '../data_store';
import {
OuiInMemoryTable,
OuiLink,
OuiHealth,
OuiSpacer,
OuiSwitch,
Expand All @@ -31,7 +30,6 @@ Example user object:
id: '1',
firstName: 'john',
lastName: 'doe',
github: 'johndoe',
dateOfBirth: Date.now(),
nationality: 'NL',
online: true
Expand Down Expand Up @@ -65,15 +63,6 @@ export const Table = () => {
name: 'Last Name',
truncateText: true,
},
{
field: 'github',
name: 'Github',
render: (username) => (
<OuiLink href="https://oui.opensearch.org/latest/" target="_blank">
{username}
</OuiLink>
),
},
{
field: 'dateOfBirth',
name: 'Date of Birth',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
import React, { useState } from 'react';
import { formatDate } from '../../../../../src/services/format';
import { createDataStore } from '../data_store';
import {
OuiInMemoryTable,
OuiLink,
OuiHealth,
} from '../../../../../src/components';
import { OuiInMemoryTable, OuiHealth } from '../../../../../src/components';

/*
Example user object:
Expand All @@ -25,7 +21,6 @@ Example user object:
id: '1',
firstName: 'john',
lastName: 'doe',
github: 'johndoe',
dateOfBirth: Date.now(),
nationality: 'NL',
online: true
Expand Down Expand Up @@ -91,15 +86,6 @@ export const Table = () => {
name: 'Last Name',
truncateText: true,
},
{
field: 'github',
name: 'Github',
render: (username) => (
<OuiLink href="https://oui.opensearch.org/latest/" target="_blank">
{username}
</OuiLink>
),
},
{
field: 'dateOfBirth',
name: 'Date of Birth',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { formatDate } from '../../../../../src/services/format';
import { createDataStore } from '../data_store';
import {
OuiInMemoryTable,
OuiLink,
OuiHealth,
OuiFlexGroup,
OuiFlexItem,
Expand All @@ -29,7 +28,6 @@ Example user object:
id: '1',
firstName: 'john',
lastName: 'doe',
github: 'johndoe',
dateOfBirth: Date.now(),
nationality: 'NL',
online: true
Expand Down Expand Up @@ -62,15 +60,6 @@ export const Table = () => {
name: 'Last Name',
truncateText: true,
},
{
field: 'github',
name: 'Github',
render: (username) => (
<OuiLink href="https://oui.opensearch.org/latest/" target="_blank">
{username}
</OuiLink>
),
},
{
field: 'dateOfBirth',
name: 'Date of Birth',
Expand Down
11 changes: 0 additions & 11 deletions src-docs/src/views/tables/in_memory/in_memory_selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import React, { useState, Fragment, useRef } from 'react';
import { formatDate } from '../../../../../src/services/format';
import { createDataStore } from '../data_store';
import {
OuiLink,
OuiHealth,
OuiButton,
OuiInMemoryTable,
Expand All @@ -31,7 +30,6 @@ Example user object:
id: '1',
firstName: 'john',
lastName: 'doe',
github: 'johndoe',
dateOfBirth: Date.now(),
nationality: 'NL',
online: true
Expand Down Expand Up @@ -154,15 +152,6 @@ export const Table = () => {
name: 'Last Name',
truncateText: true,
},
{
field: 'github',
name: 'Github',
render: (username) => (
<OuiLink href="https://oui.opensearch.org/latest/" target="_blank">
{username}
</OuiLink>
),
},
{
field: 'dateOfBirth',
name: 'Date of Birth',
Expand Down