1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00

removing old storybook story

This commit is contained in:
Alex Windett 2017-01-20 13:33:37 +00:00
parent 186353111b
commit d80933c9dc

View File

@ -10,39 +10,11 @@ const _table = require('./');
const { const {
Table, Table,
TableHead, TableHead,
TableItem,
TableBody, TableBody,
TableRow, TableRow
TableItem
} = _table; } = _table;
const columns = [{
title: 'Memeber',
dataID: 'member',
dataKey: 'member',
width: ''
}, {
title: 'Status',
dataID: 'status',
dataKey: 'status',
width: ''
}, {
title: 'Role',
dataID: 'role',
dataKey: 'role',
width: ''
}, {
title: '',
dataID: 'delete',
dataKey: 'delete',
width: ''
}];
const data = [{
name: 'Nicola',
status: 'Active',
role: 'Ownder',
}];
storiesOf('Table', module) storiesOf('Table', module)
.add('Table', () => ( .add('Table', () => (
<Base> <Base>
@ -76,12 +48,4 @@ storiesOf('Table', module)
</TableBody> </TableBody>
</Table> </Table>
</Base> </Base>
))
.add('Table New', () => (
<Base>
<Table
columns={columns}
data={data}
/>
</Base>
)); ));