From e1e46986d902adc4c19ee009016290f9733a7d61 Mon Sep 17 00:00:00 2001
From: Stefan Malzner <stefan@adlk.io>
Date: Mon, 5 Aug 2019 16:48:25 +0200
Subject: Enable tree shaking for icons

---
 uidev/src/stories/button.stories.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'uidev/src/stories/button.stories.tsx')

diff --git a/uidev/src/stories/button.stories.tsx b/uidev/src/stories/button.stories.tsx
index f7537895c..5c1c9246d 100644
--- a/uidev/src/stories/button.stories.tsx
+++ b/uidev/src/stories/button.stories.tsx
@@ -1,10 +1,10 @@
+import { mdiInformation } from '@mdi/js';
 import { observable } from 'mobx';
 import { observer } from 'mobx-react';
 import React from 'react';
 import injectSheet from 'react-jss';
 
 import { Button, Input } from '@meetfranz/forms';
-import { classes } from 'istanbul-lib-coverage';
 import { Classes } from 'jss';
 import { storiesOf } from '../stores/stories';
 
@@ -92,7 +92,7 @@ storiesOf('Button')
   ))
   .add('With icon', () => (
     <WithStoreButton store={createStore({
-      icon: 'mdiInformation',
+      icon: mdiInformation,
     })} />
   ))
   .add('As link', () => (
@@ -131,7 +131,7 @@ storiesOf('Button')
       <div className={classes.combinedElements}>
         <Input showLabel={false} className={classes.input} noMargin />
         <WithStoreButton store={createStore({
-          icon: 'mdiInformation',
+          icon: mdiInformation,
         })} />
       </div>
     )),
-- 
cgit v1.2.3-70-g09d2

