Skip to content

Commit 1a3d1bd

Browse files
authored
chore: update references to master branch to main branch (#326)
1 parent f77c224 commit 1a3d1bd

11 files changed

+14
-15
lines changed

.github/workflows/codeql-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: 'CodeQL'
1313

1414
on:
1515
push:
16-
branches: [master, beta]
16+
branches: [main, beta]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [master]
19+
branches: [main]
2020
schedule:
2121
- cron: '19 23 * * 4'
2222

.github/workflows/examples.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Examples
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
jobs:
77
release:
88
name: Release

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
- beta
77
jobs:
88
release:

.releaserc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
'branches':
2828
[
2929
'+([0-9])?(.{+([0-9]),x}).x',
30-
'master',
30+
'main',
3131
'next',
3232
'next-major',
3333
{ name: 'beta', prerelease: true },

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ There are a number of breaking changes in v3.0.0, please read the [release notes
4141

4242
## Examples
4343

44-
[Play with demo](https://cchanxzy.github.io/react-currency-input-field) or view [examples code](https://github.com/cchanxzy/react-currency-input-field/blob/master/src/examples)
44+
[Play with demo](https://cchanxzy.github.io/react-currency-input-field) or view [examples code](https://github.com/cchanxzy/react-currency-input-field/blob/main/src/examples)
4545

4646
[![React Currency Input Demo](demo/demo.gif)](https://cchanxzy.github.io/react-currency-input-field)
4747

@@ -68,7 +68,7 @@ import CurrencyInput from 'react-currency-input-field';
6868
/>;
6969
```
7070

71-
Have a look in [`src/examples`](https://github.com/cchanxzy/react-currency-input-field/tree/master/src/examples) for more examples on implementing and validation.
71+
Have a look in [`src/examples`](https://github.com/cchanxzy/react-currency-input-field/tree/main/src/examples) for more examples on implementing and validation.
7272

7373
## Props
7474

@@ -93,7 +93,7 @@ Have a look in [`src/examples`](https://github.com/cchanxzy/react-currency-input
9393
| [disableGroupSeparators](#separators) | `boolean` | `false` | Disable auto adding the group separator between values, eg. 1000 -> 1,000 |
9494
| maxLength | `number` | | Maximum characters the user can enter |
9595
| step | `number` | | Incremental value change on arrow down and arrow up key press |
96-
| transformRawValue | `function` | | Transform the raw value from the input before parsing. Needs to return `string`. |
96+
| transformRawValue | `function` | | Transform the raw value from the input before parsing. Needs to return `string`. |
9797

9898
### Abbreviations
9999

src/examples/Example1.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const Example1: FC = () => {
4545
return (
4646
<div className="row">
4747
<div className="col-12 mb-4">
48-
<a href="https://github.com/cchanxzy/react-currency-input-field/blob/master/src/examples/Example1.tsx">
48+
<a href="https://github.com/cchanxzy/react-currency-input-field/blob/main/src/examples/Example1.tsx">
4949
<h2>Example 1</h2>
5050
</a>
5151
<ul>

src/examples/Example2.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const Example2: FC = () => {
2323
return (
2424
<div className="row">
2525
<div className="col-12 mb-4">
26-
<a href="https://github.com/cchanxzy/react-currency-input-field/blob/master/src/examples/Example2.tsx">
26+
<a href="https://github.com/cchanxzy/react-currency-input-field/blob/main/src/examples/Example2.tsx">
2727
<h2>Example 2</h2>
2828
</a>
2929
<ul>

src/examples/Example3.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const Example3: FC = () => {
4545
return (
4646
<div className="row">
4747
<div className="col-12 mb-4">
48-
<a href="https://github.com/cchanxzy/react-currency-input-field/blob/master/src/examples/Example3.tsx">
48+
<a href="https://github.com/cchanxzy/react-currency-input-field/blob/main/src/examples/Example3.tsx">
4949
<h2>Example 3</h2>
5050
</a>
5151
<ul>

src/examples/Example4.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const Example4: FC = () => {
8585
return (
8686
<div className="row">
8787
<div className="col-12 mb-4">
88-
<a href="https://github.com/cchanxzy/react-currency-input-field/blob/master/src/examples/Example4.tsx">
88+
<a href="https://github.com/cchanxzy/react-currency-input-field/blob/main/src/examples/Example4.tsx">
8989
<h2>Example 4</h2>
9090
</a>
9191
<ul>

src/examples/FormatValuesExample.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const FormatValuesExample: FC = () => {
3737
return (
3838
<div className="row">
3939
<div className="col-12 mb-4">
40-
<a href="https://github.com/cchanxzy/react-currency-input-field/blob/master/src/examples/FormatValuesExample.tsx">
40+
<a href="https://github.com/cchanxzy/react-currency-input-field/blob/main/src/examples/FormatValuesExample.tsx">
4141
<h2>Format values example</h2>
4242
</a>
4343
<ul>

src/examples/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ <h1>React Currency Input Field</h1>
3333
</ul>
3434
<p>
3535
Please visit the
36-
<a
37-
href="https://github.com/cchanxzy/react-currency-input-field/tree/master/src/examples"
36+
<a href="https://github.com/cchanxzy/react-currency-input-field/tree/main/src/examples"
3837
>Github repository</a
3938
>
4039
to see the source code from examples.

0 commit comments

Comments
 (0)