Which is the Rescript way to use Aria Labels?

Which is the recommended way to use aria-label in jsx components?

According to the current ReasonReact docs, you need to camelCase aria attributes, like this:

<button ariaHidden=false> {React.string("Hi")} </button>
4 Likes

thanks,
I was getting confused with the docs in rescript’s website.

I thought for some reason that it would be cumbersome as data-*