react-jsx-highmaps
Version:
Highmaps built using React components
19 lines • 473 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(2);
};
const MapNavigationZoomOut = ({
children = '-',
onClick = DEFAULT_ONCLICK,
y = 28,
...restProps
}) => /*#__PURE__*/_jsx(MapNavigationButton, {
type: "zoomOut",
onClick: onClick,
y: y,
...restProps,
children: children
});
export default MapNavigationZoomOut;