Skip to content

markerLabelStyle needs to be added inside IVectorMapProps interface #149

@reyys

Description

@reyys

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @react-jvectormap/core@1.0.4 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/@react-jvectormap/core/.DS_Store b/node_modules/@react-jvectormap/core/.DS_Store
new file mode 100644
index 0000000..c88a062
Binary files /dev/null and b/node_modules/@react-jvectormap/core/.DS_Store differ
diff --git a/node_modules/@react-jvectormap/core/dist/types.d.ts b/node_modules/@react-jvectormap/core/dist/types.d.ts
index f0af753..4dfcf47 100644
--- a/node_modules/@react-jvectormap/core/dist/types.d.ts
+++ b/node_modules/@react-jvectormap/core/dist/types.d.ts
@@ -181,6 +181,7 @@ export interface IVectorMapProps extends IMapComponent {
     selectedMarkers?: string[] | {
         [region: string]: boolean;
     } | string;
+    markerLabelStyle?: any
     /**
      * Set the styles for the map's markers. Any parameter suitable for regionStyle could be used as well as numeric parameter r to set the marker's radius.
      */

This issue body was partially generated by patch-package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions