Skip to content

Commit

Permalink
fix: make MarkerView props with defaults optional
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Sep 30, 2024
1 parent 2671381 commit b7f7a0d
Showing 1 changed file with 3 additions and 3 deletions.
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 b7f7a0d

Please sign in to comment.