From f96835331d284838ddb9d542abe991fae225fbc8 Mon Sep 17 00:00:00 2001 From: const-er Date: Tue, 12 Mar 2019 23:30:07 +0300 Subject: [PATCH] Implementation of namespaces module --- src/Namespaces.stories.js | 86 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 src/Namespaces.stories.js diff --git a/src/Namespaces.stories.js b/src/Namespaces.stories.js new file mode 100644 index 000000000..c0a8800f3 --- /dev/null +++ b/src/Namespaces.stories.js @@ -0,0 +1,86 @@ + +import { storiesOf } from '@storybook/react'; +import React from 'react'; +import ReactDOM from 'react-dom'; +import 'antd/dist/antd.css'; +import './index.css'; +import { + Form, Icon, Input, Button, Select +} from 'antd'; +import { Table } from 'antd'; + +const columns = [{ + title: 'Prefix', + dataIndex: 'Prefix', +}, { + title: 'Namespace', + dataIndex: 'Namespace', +}]; +const data = [{ + key: '1', + Prefix: 'Prefix1', + Namespace: 'Prefix1Namespace1', +}, { + key: '2', + Prefix: 'Prefix2', + Namespace: 'Prefix2Namespace2', +}, { + key: '3', + Prefix: 'Prefix3', + Namespace: 'Prefix3Namespace3', +}]; + +class Namespaces extends React.Component { + constructor() { + super(); + } + + render() { + + return ( +
+
+

Namespaces in repository

+ + + + + + + + + + +
+ + + + + + + + + ); + } + } + + + +storiesOf('Lab1', module) + .add('Namespaces in repository', () => ( + + )) +