I am trying to use rimble-ui ui-library, and one of the props that a button takes is called “as”. This is unfortunately a reserved word in reason. So I don’t know how to use this component in my reason-react app.
Here are the docs for the library.
This is my code:
[@bs.module "rimble-ui"] [@react.component] external make: (~as_: string, ~href: string, ~target: string, ~children: React.element) => React.element = "Button";
I’d like a way to replace the _as with ‘as’ as a prop name.