-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update react-native-safe-area-context to 4.6.3 (expo#23026)
- Loading branch information
Showing
25 changed files
with
236 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 13 additions & 9 deletions
22
...ned/host/exp/exponent/modules/api/safeareacontext/RNCSafeAreaProviderManagerDelegate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
...ed/host/exp/exponent/modules/api/safeareacontext/RNCSafeAreaProviderManagerInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 14 additions & 11 deletions
25
...rsioned/host/exp/exponent/modules/api/safeareacontext/RNCSafeAreaViewManagerDelegate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 11 additions & 10 deletions
21
...sioned/host/exp/exponent/modules/api/safeareacontext/RNCSafeAreaViewManagerInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
/** | ||
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | ||
* | ||
* Do not edit this file as changes may cause incorrect behavior and will be lost | ||
* once the code is regenerated. | ||
* | ||
* @generated by codegen project: GeneratePropsJavaInterface.js | ||
*/ | ||
|
||
* This code was generated by | ||
* [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | ||
* | ||
* <p>Do not edit this file as changes may cause incorrect behavior and will be lost once the code | ||
* is regenerated. | ||
* | ||
* @generated by codegen project: GeneratePropsJavaInterface.js | ||
*/ | ||
package versioned.host.exp.exponent.modules.api.safeareacontext; | ||
|
||
import android.view.View; | ||
import androidx.annotation.Nullable; | ||
import com.facebook.react.bridge.ReadableArray; | ||
import com.facebook.react.bridge.ReadableMap; | ||
|
||
public interface RNCSafeAreaViewManagerInterface<T extends View> { | ||
void setMode(T view, @Nullable String value); | ||
void setEdges(T view, @Nullable ReadableArray value); | ||
|
||
void setEdges(T view, @Nullable ReadableMap value); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 15 additions & 5 deletions
20
...rc/main/java/versioned/host/exp/exponent/modules/api/safeareacontext/SafeAreaViewEdges.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
package versioned.host.exp.exponent.modules.api.safeareacontext | ||
|
||
enum class SafeAreaViewEdges { | ||
TOP, | ||
RIGHT, | ||
BOTTOM, | ||
LEFT | ||
import java.util.* | ||
|
||
enum class SafeAreaViewEdgeModes { | ||
OFF, | ||
ADDITIVE, | ||
MAXIMUM | ||
} | ||
|
||
data class SafeAreaViewEdges( | ||
val top: SafeAreaViewEdgeModes, | ||
val right: SafeAreaViewEdgeModes, | ||
val bottom: SafeAreaViewEdgeModes, | ||
val left: SafeAreaViewEdgeModes | ||
) | ||
|
||
class Safe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.