/** * Flowtype definitions for use-map-control * Generated by Flowgen from a Typescript Definition * Flowgen v1.21.0 */ import { RefObject } from "react"; import { MapContextProps } from "./map-context"; export type MapControlProps = $Rest< { captureScroll: boolean, captureDrag: boolean, captureClick: boolean, captureDoubleClick: boolean, capturePointerMove: boolean, children: any, ... }, { ... } >; export type MapControlRef = { props: any, context: MapContextProps, state: any, containerRef: RefObject, ... }; declare export var mapControlDefaultProps: MapControlProps; declare export var mapControlPropTypes: any; declare export default function useMapControl( props: MapControlProps ): MapControlRef;