🚧 Landing pages building blocks https://landing-blocks.now.sh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

538 B

2.0.0

  • Updated to @chakra-ui/react 1 and @emotion/react 11 peer dependencies

  • Now you will need to wrap LandingProvider with ChakraProvider to pass correct theme:

// _app.jsx
import { LandingProvider, Hero } from 'landing-blocks'
import { ChakraProvider } from '@chakra-ui/react'
import React from 'react'

export default function App(props) {
    const { Component, pageProps } = props
    return (
        <ChakraProvider>
            <LandingProvider>...</LandingProvider>
        </ChakraProvider>
    )
}