Skip to content

Commit 678d326

Browse files
committed
Remove layoutDirection from native spec for android
1 parent 347e077 commit 678d326

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

android/src/main/java/com/swmansion/rnscreens/gamma/tabs/host/TabsHostViewManager.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ class TabsHostViewManager :
7272
value: Boolean,
7373
) = Unit
7474

75-
override fun setLayoutDirection(
76-
view: TabsHost,
77-
value: String?,
78-
) = Unit
79-
8075
@ReactProp(name = "tabBarHidden")
8176
override fun setTabBarHidden(
8277
view: TabsHost,

src/fabric/tabs/TabsHostAndroidNativeComponent.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ type NativeFocusChangeEvent = {
1010
repeatedSelectionHandledBySpecialEffect: boolean;
1111
};
1212

13-
type LayoutDirection = 'inherit' | 'ltr' | 'rtl';
14-
1513
// #endregion General helpers
1614

1715
// #region Android-specific helpers
@@ -26,10 +24,6 @@ export interface NativeProps extends ViewProps {
2624
tabBarHidden?: CT.WithDefault<boolean, false>;
2725
nativeContainerBackgroundColor?: ColorValue;
2826

29-
// We can't use `direction` name for this prop as it's also used by
30-
// direction style View prop.
31-
layoutDirection?: CT.WithDefault<LayoutDirection, 'inherit'>;
32-
3327
// Control
3428

3529
// Experimental support

0 commit comments

Comments
 (0)