How to change sider icon automatically with inferencer?

How to change sider icon automatically without defining custom sider,
No description
5 Replies
kapa.ai
kapa.ai2y ago
Hi @regnregn. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
kapa.ai
kapa.ai2y ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the refine documentation (https://refine.dev/docs) for more information on customizing the sider and other components. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Overview | refine
What is refine?
kapa.ai
kapa.ai2y ago
<@336843331416096768> kapa.ai is still learning and improving, please let us how it did by reacting below
sunny-green
sunny-green2y ago
resources has meta property and takes icon prop. you can use like this https://refine.dev/docs/api-reference/core/components/refine-config/#meta
<Refine
...
resources={[
{
...
meta: {
icon: <CustomIcon />
}
},
]}
/>
<Refine
...
resources={[
{
...
meta: {
icon: <CustomIcon />
}
},
]}
/>
extended-salmon
extended-salmon2y ago
Thank you !