Skip to content

Commit 4bbb4de

Browse files
committed
fix missed prettier issues props, issue template and readme; add prettierignore
1 parent bef6a48 commit 4bbb4de

File tree

6 files changed

+101
-89
lines changed

6 files changed

+101
-89
lines changed

.prettierignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
node_modules/
2+
Example/
3+
screenshots/
4+
assets/
5+
coverage/
6+
.github/
7+
yarn.lock
8+
LICENSE
9+
.gitignore
10+
.npmignore
11+
.eslintignore
12+

.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ module.exports = {
33
jsxBracketSameLine: true,
44
singleQuote: true,
55
trailingComma: 'all',
6-
};
6+
};

ISSUE_TEMPLATE.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
2-
#### Short Description
1+
## Short Description
32

43
[FILL THIS OUT]
54

6-
#### Steps to Reproduce / Code Snippets / Usage
5+
## Steps to Reproduce / Code Snippets / Usage
76

87
[FILL THIS OUT]
98

10-
#### Expected Results
9+
## Expected Results
1110

1211
[FILL THIS OUT]
1312

14-
### Additional Information
13+
## Additional Information
1514

16-
* React Native version: [FILL THIS OUT]
17-
* react-native-dropdownalert version: [FILL THIS OUT]
18-
* Platform(s) (iOS, Android, or both?): [FILL THIS OUT]
19-
* iOS version: [FILL THIS OUT]
20-
* Android version: [FILL THIS OUT]
15+
- React Native version: [FILL THIS OUT]
16+
- react-native-dropdownalert version: [FILL THIS OUT]
17+
- Platform(s) (iOS, Android, or both?): [FILL THIS OUT]
18+
- iOS version: [FILL THIS OUT]
19+
- Android version: [FILL THIS OUT]

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
[![CI](https://github.com/testshallpass/react-native-dropdownalert/actions/workflows/ci.yml/badge.svg)](https://github.com/testshallpass/react-native-dropdownalert/actions/workflows/ci.yml)
99
[![codecov](https://codecov.io/gh/testshallpass/react-native-dropdownalert/branch/master/graph/badge.svg)](https://codecov.io/gh/testshallpass/react-native-dropdownalert)
1010

11-
| info | warn | error | success |
12-
| :----: | :---: | :----: | :----: |
11+
| info | warn | error | success |
12+
| :--------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------: |
1313
| ![screenshot](https://raw.github.com/testshallpass/react-native-dropdownalert/master/screenshots/info.png) | ![screenshot](https://raw.github.com/testshallpass/react-native-dropdownalert/master/screenshots/warning.png) | ![screenshot](https://raw.github.com/testshallpass/react-native-dropdownalert/master/screenshots/error.png) | ![screenshot](https://raw.github.com/testshallpass/react-native-dropdownalert/master/screenshots/success.png) |
1414

1515
## Table of contents
@@ -42,8 +42,8 @@ An alert to notify users about new chat messages, something went wrong or everyt
4242
## Usage
4343

4444
```javascript
45-
import React, {useRef, useEffect} from 'react'
46-
import {View} from 'react-native'
45+
import React, {useRef, useEffect} from 'react';
46+
import {View} from 'react-native';
4747
import DropdownAlert from 'react-native-dropdownalert';
4848

4949
const App = () => {
@@ -70,7 +70,7 @@ const App = () => {
7070
return (
7171
<View>
7272
<DropdownAlert
73-
ref={ref => {
73+
ref={(ref) => {
7474
if (ref) {
7575
dropDownAlertRef = ref;
7676
}

0 commit comments

Comments
 (0)