Skip to content

Commit 31f9816

Browse files
authored
Chore/update package (#55)
* chore: update packages * chore: lint files
1 parent 1ff3fb3 commit 31f9816

File tree

6 files changed

+1188
-956
lines changed

6 files changed

+1188
-956
lines changed

example/App.js

-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@
22
* Sample React Native App
33
* https://github.com/facebook/react-native
44
*
5-
* @format
65
* @flow
76
*/
87

9-
/* eslint-disable react-native/no-inline-styles */
10-
118
import React from 'react';
129
import {StyleSheet, ScrollView, Text, View} from 'react-native';
1310
import SegmentedControlIOS from '@react-native-community/segmented-control';

js/SegmentedControlIOS.android.js

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @format
87
* @flow
98
*/
109

js/SegmentedControlIOS.ios.js

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @format
87
* @flow
98
*/
109

@@ -14,7 +13,6 @@ import * as React from 'react';
1413
import {StyleSheet} from 'react-native';
1514

1615
import type {SyntheticEvent} from 'react-native/Libraries/Types/CoreEventTypes';
17-
import type {ViewProps} from 'react-native/Libraries/Components/View/ViewPropTypes';
1816

1917
import RNCSegmentedControlNativeComponent, {
2018
type SegmentedControlIOSProps,

js/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* LICENSE file in the root directory of this source tree.
66
*
77
* @flow
8-
* @format
98
*/
109

1110
export {default} from './SegmentedControlIOS';

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@
2929
"@types/react": "^16.9.17",
3030
"@types/react-native": "0.60.26",
3131
"babel-eslint": "^10.0.1",
32-
"babel-jest": "^24.9.0",
32+
"babel-jest": "^25.1.0",
3333
"eslint": "^6.8.0",
3434
"eslint-plugin-prettier": "^3.1.2",
3535
"flow-bin": "0.105.2",
3636
"husky": "^4.0.10",
37-
"jest": "^24.5.0",
37+
"jest": "^25.1.0",
3838
"lint-staged": "^10.0.0",
3939
"metro-react-native-babel-preset": "0.56.0",
4040
"prettier": "^1.19.1",
4141
"react": "16.9.0",
4242
"react-native": "0.61.5",
4343
"react-test-renderer": "16.9.0",
4444
"rimraf": "^2.6.3",
45-
"semantic-release": "^16.0.2",
45+
"semantic-release": "^17.0.4",
4646
"typescript": "^3.3.3"
4747
},
4848
"jest": {

0 commit comments

Comments
 (0)