stormy-gold
stormy-gold3mo ago

can some one say how to edit sidebar of the example. I cant find a place

can some one say how to edit sidebar of the example. I cant find a place
3 Replies
kapa.ai
kapa.ai3mo ago
Hi @isuruSh. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- In Refine, the content of the sidebar is determined by the resources field of the <Refine /> component. If you have provided an authProvider, it will also display a logout button. To customize the sidebar, you can pass a custom icon in meta.icon in the resources parameter of Refine component. Here is an example:
<Refine
...
resources={[
...
{
...
meta: {
...
icon: <CustomIcon />,
},
},
]}
...
>
...
</Refine>
<Refine
...
resources={[
...
{
...
meta: {
...
icon: <CustomIcon />,
},
},
]}
...
>
...
</Refine>
This will allow you to customize the icons in the sidebar. If you want to hide the logout button from the sidebar, you can do so by using the render prop. For more advanced customizations, you might need to swizzle the component. For more information, you can refer to the official documentation (https://refine.dev/docs/api-reference/mui/theming/#dark-mode-toggle) or the discussion thread (https://github.com/refinedev/refine/discussions/4647) on the Refine GitHub page. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3mo ago
<@979001023014260746> kapa.ai is still learning and improving, please let us know how it did by reacting below
stormy-gold
stormy-gold3mo ago
I want change the "refine project" in sidebar to my own name. How to do it
More Posts
can some one say how to edit sidebar ofcan some one say how to edit sidebar of the example. I cant find a placeGetting double slash and getting 301 moved permanently when manually changing urlSo basicallly i am getting double slash when i try to use getOne like this https://api.cibuilders.cIs there any reason to use Refine if it ends up being more code?I trialed refine in an existing admin UI (Next.js, React Hook Form, React Query) powered by a GraphQMaximum update depth exceededchunk-7QQWTS7N.js?v=4574b3cd:521 Warning: Maximum update depth exceeded. This can happen when a compHi guys, new in refine... is Refine aHi guys, new in refine... is Refine a good starting point to use it with **Nextjs 14 and SSR**? BasiHelp Needed: Error Creating Profile - "'id' of relation 'Profile' violates not-null constraintsthe code : `` const { formProps, saveButtonProps, form } = useForm( { meta: { select: "AuthProvider Check Method QueryDear Refine Team - I am using the Check Method of Auth Provider as below. The catch block catches thcomponent from refinedev/antd doesn't follow the ConfigProvider dark modecomponent from refinedev/antd doesn't follow the ConfigProvider dark mode after build. The theme worpublic static html pageHow can I add a static html page that I can access directly? For example: http:/mysite/mypage.html.How to alter the key that is added to the query when using a custom filter?When using a filter that is prebuilt, for example for dates „is on or before” will add to the column