Merged in feat/svg-instead-of-fonts (pull request #3411)
feat(SW-3695): use svg icons instead of font icons * feat(icons): use svg instead of font icons * feat(icons): use webpack/svgr for inlined svgs. Now support for isFilled again * Merge master * Remove old font icon Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -3,8 +3,8 @@ import { useIntl } from "react-intl"
|
||||
|
||||
import { Button } from "@scandic-hotels/design-system/Button"
|
||||
import { Divider } from "@scandic-hotels/design-system/Divider"
|
||||
import { TextArea } from "@scandic-hotels/design-system/TextArea"
|
||||
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
||||
import { TextArea } from "@scandic-hotels/design-system/TextArea"
|
||||
import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||
|
||||
import SelectDeliveryTime from "./SelectDeliveryTime"
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
"use client"
|
||||
|
||||
import { Button } from "@scandic-hotels/design-system/Button"
|
||||
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
||||
import {
|
||||
MaterialIcon,
|
||||
type MaterialIconProps,
|
||||
} from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
||||
|
||||
import styles from "./actionsButton.module.css"
|
||||
|
||||
import type { MaterialSymbolProps } from "@scandic-hotels/design-system/Icons/MaterialIcon/MaterialSymbol"
|
||||
|
||||
export default function ActionsButton({
|
||||
icon,
|
||||
text,
|
||||
onPress,
|
||||
isDisabled = false,
|
||||
}: {
|
||||
icon: MaterialSymbolProps["icon"]
|
||||
icon: MaterialIconProps["icon"]
|
||||
text: string
|
||||
onPress: () => void
|
||||
isDisabled?: boolean
|
||||
|
||||
@@ -66,7 +66,7 @@ export default function ResendConfirmationEmail({
|
||||
<ActionsButton
|
||||
onPress={resendConfirmationEmail}
|
||||
isDisabled={resendEmail.isPending}
|
||||
icon="email"
|
||||
icon="mail"
|
||||
text={printMsg}
|
||||
/>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user