Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

How to interopt with Chakra-Ui

$
0
0

@dkirchhof is correct, the binding should be

module ChakraProvider = {
  @react.component @module("@chakra-ui/react")
  external make: (~children: React.element) => React.element = "ChakraProvider"
}

Playground link


Viewing all articles
Browse latest Browse all 2592

Trending Articles