fix: replace feather icons with remix icons on swarm button (#414)

* fix: replace feather icons with remix icons on swarm button

* fix: remove feather icons package (#415)

* fix: remove all feather icons and replace with remix icons

* fix: few stray weird icons
This commit is contained in:
Vojtech Simetka
2022-06-20 23:37:59 +02:00
committed by GitHub
parent aa99e0153e
commit f238c43307
40 changed files with 97 additions and 77 deletions
+3 -6
View File
@@ -1,6 +1,7 @@
import { createStyles, makeStyles, Theme, Typography } from '@material-ui/core'
import { ReactElement } from 'react'
import { AlertCircle, Check } from 'react-feather'
import Check from 'remixicon-react/CheckLineIcon'
import AlertCircle from 'remixicon-react/ErrorWarningFillIcon'
import { SwarmButton, SwarmButtonProps } from './SwarmButton'
interface Props {
@@ -60,11 +61,7 @@ export default function Card({ buttonProps, icon, title, subtitle, status }: Pro
<div className={classes.wrapper}>
<div className={classes.iconWrapper}>
{icon}
{status === 'ok' ? (
<Check size="13" stroke="#09ca6c" />
) : (
<AlertCircle size="13" fill="#f44336" stroke="white" />
)}
{status === 'ok' ? <Check size="13" color="#09ca6c" /> : <AlertCircle size="13" color="#f44336" />}
</div>
<Typography variant="h2" style={{ marginBottom: '8px' }}>
{title}