@selkirk-systems/map
v1.2.1
Published
Common Map Component
Downloads
49
Readme
Selkirk Map Component
***NOTE
There are issues with placing peer dependencies that use react hooks. So here are dependecies this component uses that you must include in your top level application
"react-router-dom": "^6.21.2" "react-leaflet": "^4.2.1"
I'm still investigating the issue with dependency resolution.
Usage
import { Fetch } from "@selkirk-systems/fetch";
export const fetchAgreementsByFiscalYear = ( year ) => {
dispatch( FETCH_AGREEMENTS );
return Fetch( AGREEMENTS_LOOKUP_BY_FISCAL_YEAR_URL( { fiscalYear: year } ) ).then( respondWith( FETCHED_AGREEMENTS ) );
}