Renamed CustomZoomControls to customZoomControls. This is because for the customTooltip prop, we also want to be able to pass a function returning a JSX element in addition to a React component. But it would be strange if you were to have one uppercase prop and a lowercase prop despite the fact that both were React components. Also added an id for the default custom zoom controls.
How to test
Verify that passing custom zoom controls via the customZoomControls prop still works.
Proposed changes
Renamed
CustomZoomControls
tocustomZoomControls
. This is because for thecustomTooltip
prop, we also want to be able to pass a function returning a JSX element in addition to a React component. But it would be strange if you were to have one uppercase prop and a lowercase prop despite the fact that both were React components. Also added an id for the default custom zoom controls.How to test
customZoomControls
prop still works.