Skip to content

Commit 16e27ec

Browse files
committed
fix: change plugins prop type from readonly array to mutable array in Props interface
1 parent 9db2177 commit 16e27ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export interface Props extends MakeOptional<ViewerConfig, "container"> {
101101
fishEye?: boolean | number;
102102
hideNavbarButton?: boolean;
103103
lang?: Record<string, string>;
104-
plugins?: readonly PluginEntry[];
104+
plugins?: PluginEntry[];
105105
// Events
106106
onPositionChange?(lat: number, lng: number, instance: Viewer): void;
107107
onZoomChange?(data: events.ZoomUpdatedEvent & { type: "zoom-updated"; }, instance: Viewer): void;

0 commit comments

Comments
 (0)