Skip to content

Commit

Permalink
chore: rename master branch to main (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin authored Nov 11, 2021
1 parent 76deb9e commit b1341b2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "size"
on:
pull_request:
branches:
- master
- main

jobs:
size:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Urbica React Mapbox GL JS

[![Node CI](https://github.com/urbica/react-map-gl/workflows/Node%20CI/badge.svg)](https://github.com/urbica/react-map-gl/actions)
[![codecov](https://codecov.io/gh/urbica/react-map-gl/branch/master/graph/badge.svg)](https://codecov.io/gh/urbica/react-map-gl)
[![codecov](https://codecov.io/gh/urbica/react-map-gl/branch/main/graph/badge.svg)](https://codecov.io/gh/urbica/react-map-gl)
[![npm](https://img.shields.io/npm/dt/@urbica/react-map-gl.svg?style=popout)](https://www.npmjs.com/package/@urbica/react-map-gl)
[![npm](https://img.shields.io/npm/v/@urbica/react-map-gl.svg?style=popout)](https://www.npmjs.com/package/@urbica/react-map-gl)
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@urbica/react-map-gl.svg)
Expand All @@ -24,7 +24,7 @@ This project is heavily inspired by [uber/react-map-gl](https://github.com/uber/
- [Contributing](#contributing)
- [Team](#team)

![Gallery](https://raw.githubusercontent.com/urbica/react-map-gl/master/docs/gallery.jpg)
![Gallery](https://raw.githubusercontent.com/urbica/react-map-gl/main/docs/gallery.jpg)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ To use any of Mapbox’s tools, APIs, or SDKs, you’ll need a Mapbox [access to

This package is heavily inspired by [uber/react-map-gl](https://github.com/uber/react-map-gl).

<img src="https://raw.githubusercontent.com/urbica/react-map-gl/master/docs/gallery.jpg" width="800" />
<img src="https://raw.githubusercontent.com/urbica/react-map-gl/main/docs/gallery.jpg" width="800" />
2 changes: 1 addition & 1 deletion src/components/MapGL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const onClick = (event) => {

`mapbox-gl` emit [events](https://www.mapbox.com/mapbox-gl-js/api/#events) in response to user interactions or changes in state.

You can find full list of supported props in [eventProps](https://github.com/urbica/react-map-gl/blob/master/src/components/MapGL/eventProps.js).
You can find full list of supported props in [eventProps](https://github.com/urbica/react-map-gl/blob/main/src/components/MapGL/eventProps.js).

Here is an example for `onClick` prop.

Expand Down

0 comments on commit b1341b2

Please sign in to comment.