Skip to content

Commit 38b5129

Browse files
authored
Merge pull request #713 from thsmale/fix-typo-readme
Rm miscellaneous `;` in README
2 parents c92823d + ce40c52 commit 38b5129

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,16 @@ npm install react-world-flags
1919
```javascript
2020
import Flag from 'react-world-flags'
2121

22-
;<Flag code={code} />
22+
<Flag code={code} />
2323
```
2424

2525
Where `code` is the [two letter](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), [three letter](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) or [three digit](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) country code.
2626

2727
You can also pass an optional `fallback` which renders if the given code doesn't correspond to a flag:
2828

2929
```javascript
30-
import Flag from 'react-world-flags'
31-
32-
;<Flag code="foo" fallback={<span>Unknown</span>} />
30+
import Flag from 'react-world-flags';
31+
<Flag code="foo" fallback={<span>Unknown</span>} />
3332
```
3433

3534
All props but `code` and `fallback` are passed through to the rendered `img`

0 commit comments

Comments
 (0)