#Icon prop inside notifications.show weird behaviour w. tyepscript
7 messages · Page 1 of 1 (latest)
7 messages · Page 1 of 1 (latest)
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
Change file extension to .tsx