diff --git a/src/App2.stories.js b/src/App2.stories.js new file mode 100644 index 000000000..1e95485d3 --- /dev/null +++ b/src/App2.stories.js @@ -0,0 +1,92 @@ +import { storiesOf } from '@storybook/react'; +import React from 'react' +import { + Layout, Menu, Breadcrumb, Button, Dropdown, Icon, message, Pagination, Checkbox, Input, Table, Divider, Tag +} from 'antd'; +import 'antd/dist/antd.css'; + +const { Header, Content, Sider } = Layout; +const MenuItemGroup = Menu.ItemGroup; +const SubMenu = Menu.SubMenu; + +const menu2 = ( +
+); + +const columns = [{ + title: 'Subject', + dataIndex: 'name_1', + render: text => {text}, +}, { + title: 'Predicate', + dataIndex: 'name_2', + render: text => {text}, +}, { + title: 'Object', + dataIndex: 'name_3', + render: text => {text}, +}, { + title: 'Context', + dataIndex: 'name_4', + render: text => {text}, +} +]; + +const data = []; +for (let i = 0; i < 100; i++) { + data.push({ + key: i, + name_1: `reqs-collection:567Rno8wjrwxiXoozHsFva${i}`, + name_2: `rdf:type${i}`, + name_3: `folders:folder1${i}`, + name_4: `