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 = ( + + All + 10 + 50 + 100 + 200 + +); + +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: `` + }); +} + +class Explore extends React.Component { + render() { + return ( + + + + + Explore + + + Show data types & language tags + + + + + + + + + +
+ + +
+ + + + + + + + ); + } +} + +storiesOf('Issue #5', module) + .add('Explore', () => ( + + )) \ No newline at end of file