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
adverse-sapphire
adverse-sapphire2y 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 />
}
},
]}
/>
sensitive-blue
sensitive-blue2y ago
Thank you !