Merged in feat/SW-1711-switch-icons (pull request #1558)
Switches out all the old icons to new ones, and moves them to the design system. The new icons are of three different types: Materialise Symbol, Nucleo, and Customized. Also adds further mapping between facilities/amenities and icons. Approved-by: Michael Zetterberg Approved-by: Erik Tiekstra
This commit is contained in:
@@ -3,9 +3,8 @@ import { Rate } from '../types'
|
||||
import styles from '../rate-card.module.css'
|
||||
import { Typography } from '../../Typography'
|
||||
import { Button } from '../../Button'
|
||||
import InfoCircleIcon from '../../Icons/InfoCircle'
|
||||
import CheckCircleIcon from '../../Icons/CheckCircle'
|
||||
import { variants } from '../variants'
|
||||
import { MaterialIcon } from '../../Icons'
|
||||
|
||||
interface RegularRateCardProps {
|
||||
name: string
|
||||
@@ -58,7 +57,7 @@ export default function RegularRateCard({
|
||||
size="Small"
|
||||
onPress={handleTermsClick}
|
||||
>
|
||||
<InfoCircleIcon height={20} width={20} />
|
||||
<MaterialIcon icon="info" color="CurrentColor" />
|
||||
</Button>
|
||||
{rateTitle}
|
||||
<span className={styles.textSecondary}>
|
||||
@@ -67,7 +66,7 @@ export default function RegularRateCard({
|
||||
</h3>
|
||||
</Typography>
|
||||
<div className={styles.checkIcon}>
|
||||
<CheckCircleIcon width={24} height={24} />
|
||||
<MaterialIcon icon="check" color="CurrentColor" />
|
||||
</div>
|
||||
</header>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user