react-jsx-highmaps
Version:
Highmaps built using React components
19 lines • 471 B
JavaScript
import * as React from 'react';
import MapNavigationButton from './MapNavigationButton';
import { jsx as _jsx } from "react/jsx-runtime";
const DEFAULT_ONCLICK = function () {
this.mapZoom(0.5);
};
const MapNavigationZoomIn = ({
children = '+',
onClick = DEFAULT_ONCLICK,
y = 0,
...restProps
}) => /*#__PURE__*/_jsx(MapNavigationButton, {
type: "zoomIn",
onClick: onClick,
y: y,
...restProps,
children: children
});
export default MapNavigationZoomIn;