`
-
-## demo
-
-```embed
-const React = require('react');
-const ReactDOM = require('react-dom/server');
-const Base = require('../base');
-const Container = require('../container');
-const Row = require('../row');
-const Column = require('../column');
-const Notificaton = require('./index.js');
-const styles = require('./style.css');
-
-const style = {
- marginBottom: 0
-}
-
-nmodule.exports = ReactDOM.renderToString(
-
-
-
-
- This is the warning content
-
-
-
-
-
-
- This is the question content
-
-
-
-
-
-
- This is the alert content
-
-
-
-
-);
-```
-
-## usage
-
-```js
-const React = require('react');
-const Notificaton = require('ui/avatar');
-
-module.exports = () => {
- return (
-
- This is the warning content
-
-
- This is the question content
-
-
- This is the alert content
-
- );
-}
-```
diff --git a/ui/src/index.js b/ui/src/index.js
index 86b9c453..b638bdc6 100644
--- a/ui/src/index.js
+++ b/ui/src/index.js
@@ -7,6 +7,7 @@ module.exports = {
Checkbox: require('./components/checkbox'),
Column: require('./components/column'),
Container: require('./components/container'),
+ Close: require('./components/close'),
Input: require('./components/input'),
List: require('./components/list'),
Modal: require('./components/modal'),
diff --git a/ui/src/shared/assets/close.png b/ui/src/shared/assets/close.png
new file mode 100644
index 00000000..94fca5fa
Binary files /dev/null and b/ui/src/shared/assets/close.png differ
diff --git a/ui/stories/index.js b/ui/stories/index.js
index e255249b..2974161e 100644
--- a/ui/stories/index.js
+++ b/ui/stories/index.js
@@ -12,6 +12,7 @@ const {
Checkbox,
Row,
Column,
+ Close,
AddMetric: {
AddMetricButton,
AddMetricDescription,
@@ -353,6 +354,11 @@ storiesOf('Tabs', module)
));
+storiesOf('Close', module)
+ .add('Default', () => (
+
+ ));
+
storiesOf('Toggle', module)
.add('default', () => (