Skip to content

Commit

Permalink
feat: add refresh props on the android
Browse files Browse the repository at this point in the history
  • Loading branch information
hellohublot committed Aug 20, 2024
1 parent c03108d commit 38c289d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ class HomePageManager : ViewGroupManager<HomePageView>() {
view.setSlideDisable(disable)
}

@ReactProp(name = "refresh")
fun setRefresh(view: HomePageView, refresh: Boolean) {
view.setRefresh(refresh)
}

override fun getExportedCustomBubblingEventTypeConstants(): Map<String, Any> {
return mapOf(
PageSelectedEvent.EVENT_NAME to mapOf(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onekeyfe/react-native-tab-page-view",
"version": "1.0.12",
"version": "1.0.13",
"description": "React Native Tab Page View",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 38c289d

Please sign in to comment.