Skip to content

Commit

Permalink
Update package.json version
Browse files Browse the repository at this point in the history
  • Loading branch information
sshyam-gupta committed Jul 9, 2023
1 parent e90f633 commit 84958e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-datamaps-india",
"version": "0.6.0",
"version": "1.0.0-beta-1",
"description": "Datamaps for india region",
"type": "module",
"main": "./dist/react-datamaps-india.umd.cjs",
Expand Down
15 changes: 7 additions & 8 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,15 @@ function App() {
regionData={states}
mapLayout={{
title: 'Datamaps',
legendTitle: 'Legend',
startColor: '#1F8A70',
endColor: '#000',
noDataColor: 'blue',
borderColor: 'yellow',
hoverColor: 'green',
hoverValuePrefix: 'Counts',
// legendTitle: 'Legend',
// startColor: '#1F8A70',
// endColor: '#000',
// noDataColor: 'blue',
// borderColor: 'yellow',
// hoverColor: 'green',
// hoverValuePrefix: 'Counts',
}}
hoverComponent={({ value }: any) => {
console.log(value)
return (
<>
<p>{value.name}</p>
Expand Down

0 comments on commit 84958e2

Please sign in to comment.