Skip to content

Commit

Permalink
[v7] Fix AttributionControl prop typo (#1679)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Jan 27, 2022
1 parent cca9122 commit e46021e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api-reference/attribution-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Note that the following properties are not reactive. They are only used when the

Note that your attribution must adhere to Mapbox's [guidelines](https://docs.mapbox.com/help/getting-started/attribution/).

#### customAttributions: string | string[]
#### customAttribution: string | string[]

String or strings to show in addition to any other attributions.

Expand Down
2 changes: 1 addition & 1 deletion src/components/attribution-control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type AttributionControlProps = {
* that collapses when the map is less than 640 pixels wide. */
compact?: boolean;
/** String or strings to show in addition to any other attributions. */
customAttributions?: string | string[];
customAttribution?: string | string[];
/** Placement of the control relative to the map. */
position?: ControlPosition;
};
Expand Down

0 comments on commit e46021e

Please sign in to comment.