oh if it’s just a matter of how the function is called, you can choose whatever you want and just add a make function that points to the function name you’ve chosen, I think it does the trick:
module WithRecord = {
type props = {name: string}
let withRecord = props => {
React.string(props.name)
}
let make = withRecord
}
