yarn
cd examples && npm i
Watch styles changes
yarn start
Inside example
npm run dev
Create the desired styles with storybook: yarn storybook
and yarn start
.
Then stop them and run Inside example npm run dev
to start the application.
import { extendTheme } from "@chakra-ui/react";
import theme from "@discovery-dao/infini-ui";
...
<ChakraProvider theme={theme}>
<Component {...pageProps} />
</CacheProvider>