Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 538 Bytes

CHANGELOG.md

File metadata and controls

21 lines (17 loc) · 538 Bytes

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>
    )
}