aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ui/src/infobox/index.tsx
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-02-06 20:28:15 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-02-06 20:28:15 +0100
commit14b151cad6a5a849bb476aaa3fc53bf1eead7f4b (patch)
tree8daa38d28fe21e1745093962526dd36744be4274 /packages/ui/src/infobox/index.tsx
parentupdate versions (diff)
downloadferdium-app-14b151cad6a5a849bb476aaa3fc53bf1eead7f4b.tar.gz
ferdium-app-14b151cad6a5a849bb476aaa3fc53bf1eead7f4b.tar.zst
ferdium-app-14b151cad6a5a849bb476aaa3fc53bf1eead7f4b.zip
cleanup
Diffstat (limited to 'packages/ui/src/infobox/index.tsx')
-rw-r--r--packages/ui/src/infobox/index.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/ui/src/infobox/index.tsx b/packages/ui/src/infobox/index.tsx
index bf985ea9c..53ed16341 100644
--- a/packages/ui/src/infobox/index.tsx
+++ b/packages/ui/src/infobox/index.tsx
@@ -1,9 +1,7 @@
1import { Theme } from '@meetfranz/theme'; 1import { Theme } from '@meetfranz/theme';
2import classnames from 'classnames'; 2import classnames from 'classnames';
3import { observer } from 'mobx-react';
4import React, { Component } from 'react'; 3import React, { Component } from 'react';
5import injectStyle from 'react-jss'; 4import injectStyle from 'react-jss';
6// import Loader from 'react-loader';
7 5
8import { Icon } from '../'; 6import { Icon } from '../';
9import { IWithStyle } from '../typings/generic'; 7import { IWithStyle } from '../typings/generic';
@@ -95,7 +93,6 @@ const styles = (theme: Theme) => ({
95 ...buttonStyles(theme), 93 ...buttonStyles(theme),
96}); 94});
97 95
98@observer
99class InfoboxComponent extends Component<IProps, IState> { 96class InfoboxComponent extends Component<IProps, IState> {
100 public static defaultProps = { 97 public static defaultProps = {
101 type: 'primary', 98 type: 'primary',
@@ -160,6 +157,7 @@ class InfoboxComponent extends Component<IProps, IState> {
160 [classes[`${type}`]]: type, 157 [classes[`${type}`]]: type,
161 [classes.dismissing]: isDismissing, 158 [classes.dismissing]: isDismissing,
162 })} 159 })}
160 data-type="franz-infobox"
163 > 161 >
164 {icon && ( 162 {icon && (
165 <Icon icon={icon} className={classes.icon} /> 163 <Icon icon={icon} className={classes.icon} />