aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ui/src/icon/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ui/src/icon/index.tsx')
-rw-r--r--packages/ui/src/icon/index.tsx9
1 files changed, 2 insertions, 7 deletions
diff --git a/packages/ui/src/icon/index.tsx b/packages/ui/src/icon/index.tsx
index af467c085..b644a9234 100644
--- a/packages/ui/src/icon/index.tsx
+++ b/packages/ui/src/icon/index.tsx
@@ -1,9 +1,9 @@
1import MdiIcon from '@mdi/react'; 1import MdiIcon from '@mdi/react';
2import { Theme } from '@meetfranz/theme';
3import classnames from 'classnames'; 2import classnames from 'classnames';
4import React, { Component } from 'react'; 3import React, { Component } from 'react';
5import injectStyle from 'react-jss'; 4import injectStyle from 'react-jss';
6 5
6import { Theme } from '../../../theme';
7import { IWithStyle } from '../typings/generic'; 7import { IWithStyle } from '../typings/generic';
8 8
9interface IProps extends IWithStyle { 9interface IProps extends IWithStyle {
@@ -24,12 +24,7 @@ class IconComponent extends Component<IProps> {
24 }; 24 };
25 25
26 render() { 26 render() {
27 const { 27 const { classes, icon, size, className } = this.props;
28 classes,
29 icon,
30 size,
31 className,
32 } = this.props;
33 28
34 if (!icon) { 29 if (!icon) {
35 console.warn('No Icon specified'); 30 console.warn('No Icon specified');