Skip to content

Commit 5098986

Browse files
committed
feat: 1.1.0 version with the RTL support and matches with iOS Design Kit
1 parent de690ac commit 5098986

File tree

8 files changed

+7
-182
lines changed

8 files changed

+7
-182
lines changed

example/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import { View, Image, Dimensions } from "react-native";
3-
import SegmentedControl from "./lib/SegmentedControl";
3+
import SegmentedControl from "react-native-segmented-control-2";
44

55
const { width: ScreenWidth } = Dimensions.get("screen");
66

example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,4 +541,4 @@ SPEC CHECKSUMS:
541541

542542
PODFILE CHECKSUM: 8c8a13ce08d644ffa6042bce5860ab19428fe515
543543

544-
COCOAPODS: 1.11.2
544+
COCOAPODS: 1.11.3

example/lib/SegmentedControl.style.ts

Lines changed: 0 additions & 56 deletions
This file was deleted.

example/lib/SegmentedControl.tsx

Lines changed: 0 additions & 119 deletions
This file was deleted.

lib/SegmentedControl.style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const _selectedTabStyle = (
4343
export default StyleSheet.create({
4444
tab: {
4545
flex: 1,
46-
paddingVertical: 8, // iOS Default
46+
paddingVertical: 8, // iOS Default
4747
alignItems: "center",
4848
justifyContent: "center",
4949
},

lib/SegmentedControl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
Dimensions,
99
TouchableOpacity,
1010
TextStyle,
11-
I18nManager
11+
I18nManager,
1212
} from "react-native";
1313
/**
1414
* ? Local Imports

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-segmented-control-2",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"description": "🚀 React Native Segmented Control, Pure Javascript for iOS and Android",
55
"main": "./build/dist/SegmentedControl.js",
66
"repository": "git@github.com:WrathChaos/react-native-segmented-control-2.git",

0 commit comments

Comments
 (0)