Attempting to use `React.memoCustomCompareProps` throws the following compiler error: > Invalid_argument("react.component calls can only be on function definitions or component wrappers (forwardRef, memo).")