diff options
author | 2019-08-28 14:42:27 +0200 | |
---|---|---|
committer | 2019-08-28 14:42:27 +0200 | |
commit | c4141f5c4a5918b13b39c920c275571adc0eab62 (patch) | |
tree | 1d95eda72d03976eb04ce756cf99a2a05acc4f66 /src/components | |
parent | replace dev website with staging (diff) | |
download | ferdium-app-c4141f5c4a5918b13b39c920c275571adc0eab62.tar.gz ferdium-app-c4141f5c4a5918b13b39c920c275571adc0eab62.tar.zst ferdium-app-c4141f5c4a5918b13b39c920c275571adc0eab62.zip |
fix missing icons
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ui/FeatureItem.js | 3 | ||||
-rw-r--r-- | src/components/ui/Modal/index.js | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/components/ui/FeatureItem.js b/src/components/ui/FeatureItem.js index a63f5f7b5..53616f2eb 100644 --- a/src/components/ui/FeatureItem.js +++ b/src/components/ui/FeatureItem.js | |||
@@ -2,6 +2,7 @@ import React from 'react'; | |||
2 | import injectSheet from 'react-jss'; | 2 | import injectSheet from 'react-jss'; |
3 | import { Icon } from '@meetfranz/ui'; | 3 | import { Icon } from '@meetfranz/ui'; |
4 | import classnames from 'classnames'; | 4 | import classnames from 'classnames'; |
5 | import { mdiCheckCircle } from '@mdi/js'; | ||
5 | 6 | ||
6 | const styles = theme => ({ | 7 | const styles = theme => ({ |
7 | featureItem: { | 8 | featureItem: { |
@@ -27,7 +28,7 @@ export const FeatureItem = injectSheet(styles)(({ | |||
27 | {icon ? ( | 28 | {icon ? ( |
28 | <span className={classes.featureIcon}>{icon}</span> | 29 | <span className={classes.featureIcon}>{icon}</span> |
29 | ) : ( | 30 | ) : ( |
30 | <Icon icon="mdiCheckCircle" className={classes.featureIcon} size={1.5} /> | 31 | <Icon icon={mdiCheckCircle} className={classes.featureIcon} size={1.5} /> |
31 | )} | 32 | )} |
32 | {name} | 33 | {name} |
33 | </li> | 34 | </li> |
diff --git a/src/components/ui/Modal/index.js b/src/components/ui/Modal/index.js index 0b7154760..63d858c47 100644 --- a/src/components/ui/Modal/index.js +++ b/src/components/ui/Modal/index.js | |||
@@ -5,6 +5,7 @@ import classnames from 'classnames'; | |||
5 | import injectCSS from 'react-jss'; | 5 | import injectCSS from 'react-jss'; |
6 | import { Icon } from '@meetfranz/ui'; | 6 | import { Icon } from '@meetfranz/ui'; |
7 | 7 | ||
8 | import { mdiClose } from '@mdi/js'; | ||
8 | import styles from './styles'; | 9 | import styles from './styles'; |
9 | 10 | ||
10 | // ReactModal.setAppElement('#root'); | 11 | // ReactModal.setAppElement('#root'); |
@@ -59,7 +60,7 @@ export default @injectCSS(styles) class Modal extends Component { | |||
59 | className={classes.close} | 60 | className={classes.close} |
60 | onClick={close} | 61 | onClick={close} |
61 | > | 62 | > |
62 | <Icon icon="mdiClose" size={1.5} /> | 63 | <Icon icon={mdiClose} size={1.5} /> |
63 | </button> | 64 | </button> |
64 | )} | 65 | )} |
65 | <div className={classes.content}> | 66 | <div className={classes.content}> |