How to use multiple UI libs at one next js project?
Is it possible to use chakra ui and antd in the same project? If yes how? to configure it
_app.tsx file, you'll need to wrap your application with both providers. For example:npm install @refinedev/chakra-ui @chakra-ui/react @refinedev/antd antdimport { ChakraProvider } from "@chakra-ui/react";
import { ConfigProvider } from "antd";
function MyApp({ Component, pageProps }: AppProps) {
return (
<ChakraProvider>
<ConfigProvider>
{/* Your Refine setup here */}
</ConfigProvider>
</ChakraProvider>
);
}import { Button as ChakraButton } from "@chakra-ui/react";
import { Button as AntButton } from "antd";