#Icon prop inside notifications.show weird behaviour w. tyepscript

7 messages · Page 1 of 1 (latest)

final tendon
#

here's the code

export const successNotification = (message: string) => {
  notifications.show({
    title: "Success",
    message,
    icon: (<IconCheck size={18} />),
    color: "green",
  });
};

i cant seem to figure out what im doing wrong here.

heres the error im getting

twin torrent
final tendon
#

worked.
thanks a ton

#

❤️

nocturne kiln
#

what a simple fix

#

🙂

#

I was banging my head around for hours