How can i remove the ShowCode and give feedback buttons that appear at the bottom
I am using refine with Ant design ui
11 Replies
Hi @GolDRoger21. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
It's great that you're using refine with Ant Design UI. Refine is a React-based framework for building data-intensive applications like admin panels, dashboards, and internal tools. It works seamlessly with Ant Design System, providing Ant Design components and hooks to work with those components.
To get started with a refine project using Ant Design, you can use the superplate (https://github.com/pankod/superplate) CLI tool:
During the setup process, choose Ant Design as your UI framework. Once your project is set up, you can take advantage of refine's out-of-the-box functionality, such as routing, networking, authentication, state management, and i18n.
Some useful examples and resources for working with refine and Ant Design:
1. Creating a dynamic form with Ant Design (https://refine.dev/blog/react-crud-app-with-dynamic-form-ant-design/)
2. Using the useModal hook with Ant Design Modal (https://refine.dev/docs/examples/ui/useModal)
3. Customizing the theme with Ant Design (https://refine.dev/docs/examples/customTheme)
For more information and examples, you can refer to the refine documentation (https://refine.dev/docs) and refine blog (https://refine.dev/blog).
If you have any specific questions or need help with a particular aspect of refine and Ant Design, feel free to ask!
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------GitHub
GitHub - pankod/superplate: A well-structured production-ready fron...
A well-structured production-ready frontend boilerplate with Typescript, React Testing Library, styled-component, React Query, .env, Axios, Bundle Analyzer, Prettier and 30+ plugins. superplate cr...
How to Create Dynamic Forms in React CRUD app with Ant Design | refine
Easy way to creating dynamic forms in React CRUD apps with Ant Design
useModal | refine
You can use the useModal hook to manage an Ant Design Modal. This hook offers you all options for controlling an Ant Design Modal. We've demonstrated how to utilize a Modal in basic form using the useModal hook in this example.
Theme | refine
You can customize design and theme in your project with refine. In this example, we have created an example application by customizing the default theme of refine. You can easily customize your theme as you wish in your refine project.
Overview | refine
What is refine?
<@901010881503170560> kapa.ai is still learning and improving, please let us how it did by reacting below
adverse-sapphire•2y ago
Bot only answers the questions based on your text and can't infer it from the title, could you please tag the bot and ask your question again?
I believe you would need to swizzle to remove those two buttons, but i am unsure.
rare-sapphire•2y ago
Hey @GolDRoger21 , its not meant for production usage but it scaffolds these files to help you get started. You should copy paste them and modify for your needs.
robust-apricot•2y ago
I can't figure this out either
Hey @Bdizzle
You cannot hide these buttons because 'Inferencer' is only a development-only feature. Please visit the Inferencer documentation (https://refine.dev/docs/packages/documentation/inferencer/) for more detailed information.
Inferencer | refine
@refinedev/inferencer is a package that provides a way to automatically generate views for resources based on the data structure. The aim is to reduce the amount of time spent on creating views for resources by generating the code automatically that can be customized easily.
robust-apricot•2y ago
@Omer Why?
@refinedev/inferencer is an experimental package and it is now in the early stages of development. We are working on improving the package and adding new features.
If you have any suggestions or feedback, please let us know in the GitHub Discussions (https://github.com/refinedev/refine/discussions/3046)
robust-apricot•2y ago
@Omer - Left feedback, thank you!