In apexcharts i'm working with customIcon[] , the customIcon takes object and its keys and values are like
customIcons: [
{
icon: '<img src="" width="15" />',
class: "chart-icon",
title: 'add anything',
click: function () {
function();
},
},
],
my Question is that i want to add icon from MUI icons instead of image tag below
"<img>"
there should be icon tag which is imported just like this and it should be working
import icon from "mui/material/icon"
customIcons: [
{
icon: '<icon />',
class: "chart-icon",
title: 'add title',
click: function () {
function ();
},
},
],
i hope you guys get it.