import { AppProps } from 'next/app' ; import { ChakraProvider } from '@chakra-ui/react' ; const App = ( { Component , pageProps } ) => { return ( < ChakraProvider > < Component { ... pageProps } / > < /ChakraProvider>); } ; export default App ;