The documentation for the InfoWindow component mentions a headerContent prop, which is supposed to accept a string or React.ReactNode. However, the actual implementation of the InfoWindow component does not include this prop. Below are the details of the implementation and the discrepancy in the documentation:
Expected Behavior:
The InfoWindow component should support a headerContent prop as described in the documentation, allowing users to pass either a string or React.ReactNode to be displayed in the header row of the InfoWindow.
Actual Behavior:
The current implementation of the InfoWindow component does not include the headerContent prop, leading to a mismatch between the documentation and the actual code.
Steps to Reproduce
Attempt to use the headerContent prop with the InfoWindow component as per the documentation.
Observe that the headerContent prop is not recognized by the InfoWindow component.
Description
The documentation for the InfoWindow component mentions a headerContent prop, which is supposed to accept a string or React.ReactNode. However, the actual implementation of the InfoWindow component does not include this prop. Below are the details of the implementation and the discrepancy in the documentation:
Documentation Reference: React Google Maps - InfoWindow API
Expected Behavior: The InfoWindow component should support a headerContent prop as described in the documentation, allowing users to pass either a string or React.ReactNode to be displayed in the header row of the InfoWindow.
Actual Behavior: The current implementation of the InfoWindow component does not include the headerContent prop, leading to a mismatch between the documentation and the actual code.
Steps to Reproduce
Attempt to use the headerContent prop with the InfoWindow component as per the documentation. Observe that the headerContent prop is not recognized by the InfoWindow component.
Environment
Logs
No response