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

Custom data-attributes in JSX

$
0
0

In the Playground you linked to, there is a binding:

@module("react/jsx-runtime")
external jsxs: (string, props) => Jsx.element = "jsx"

Did you mean to write = "jsxs" instead of = "jsx"?

The template in the related documentation section defines jsxs as:

external jsxs: (string, props) => Jsx.element = "jsxs"

Viewing all articles
Browse latest Browse all 1991

Trending Articles