Skip to content

Commit 29720fb

Browse files
feat: colorScheme support
* #289 Update types and add missing colorScheme prop * types: fix colorScheme prop type --------- Co-authored-by: Husam Elbashir <[email protected]>
1 parent 85b655e commit 29720fb

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
"devDependencies": {
5959
"pnpm": "^8.7.6",
60-
"@types/google.maps": "^3.53.6",
60+
"@types/google.maps": "^3.58.1",
6161
"@typescript-eslint/eslint-plugin": "^4.33.0",
6262
"@typescript-eslint/parser": "^4.33.0",
6363
"@vitejs/plugin-vue": "^4.3.1",

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/GoogleMap.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ export default defineComponent({
7070
required: false,
7171
default: undefined,
7272
},
73+
colorScheme: {
74+
type: String as PropType<keyof typeof google.maps.ColorScheme>,
75+
required: false,
76+
},
7377
controlSize: {
7478
type: Number,
7579
required: false,

0 commit comments

Comments
 (0)