Skip to content

Commit

Permalink
fix: make MarkerView props with defaults optional (#460)
Browse files Browse the repository at this point in the history
* fix: make MarkerView props with defaults optional
* chore: add changelog
* chore: add linkt to pr in changelog
* chore: add missing brace in changelog
  • Loading branch information
KiwiKilian authored Oct 10, 2024
1 parent a6d6216 commit 185cf3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ PR Title ([#123](link to my pr))
```

fix: make MarkerView props with defaults optional ([#460](https://github.com/maplibre/maplibre-react-native/pull/460))
fix: updated Mapbox callstack check for iOS custom headers to check for MapLibre instead [#461](https://github.com/maplibre/maplibre-react-native/pull/461)

## 10.0.0-alpha.17
Expand Down
6 changes: 3 additions & 3 deletions javascript/components/MarkerView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface MarkerViewProps extends ViewProps {
* Note this is only for custom annotations not the default pin view.
* Defaults to the center of the view.
*/
anchor: {
anchor?: {
/**
* `x` of anchor
*/
Expand All @@ -30,8 +30,8 @@ interface MarkerViewProps extends ViewProps {
*/
y: number;
};
allowOverlap: boolean;
isSelected: boolean;
allowOverlap?: boolean;
isSelected?: boolean;
/**
* Expects one child - can be container with multiple elements
*/
Expand Down

0 comments on commit 185cf3e

Please sign in to comment.