@@jsxConfig({version: 4})

module V4C = {
  @res.jsxComponentProps @live
  type props<'x, 'ref> = {
    x: 'x,
    ref?: 'ref,
  }

  @module("componentForwardRef")
  external make: React.component<props<string, ReactDOM.Ref.currentDomRef>> = "component"
}
