forked from adazzle/react-data-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.tsx
32 lines (30 loc) · 1.31 KB
/
index.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import 'core-js/stable';
import '../style/index.less';
import './index.less';
import React from 'react';
import { storiesOf } from '@storybook/react';
import AllFeatures from './demos/AllFeatures';
import CellActions from './demos/CellActions';
import CommonFeatures from './demos/CommonFeatures';
import MillionCells from './demos/MillionCells';
import NoRows from './demos/NoRows';
import TreeView from './demos/TreeView';
import ContextMenu from './demos/ContextMenu';
import ScrollToRow from './demos/ScrollToRow';
import CellNavigation from './demos/CellNavigation';
import HeaderFilters from './demos/HeaderFilters';
import ColumnsReordering from './demos/ColumnsReordering';
import LegacyGrouping from './demos/LegacyGrouping';
storiesOf('Demos', module)
.add('Common Features', () => <CommonFeatures />)
.add('All Features', () => <AllFeatures />)
.add('A Million Cells', () => <MillionCells />)
.add('No Rows', () => <NoRows />)
.add('Cell Actions', () => <CellActions />)
.add('Tree View', () => <TreeView />)
.add('Context Menu', () => <ContextMenu />)
.add('Scroll To Row', () => <ScrollToRow />)
.add('Cell Navigation', () => <CellNavigation />)
.add('Header Filters', () => <HeaderFilters />)
.add('Columns Reordering', () => <ColumnsReordering />)
.add('Legacy Grouping', () => <LegacyGrouping />);