@ruby-native/react 0.9.3 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -35,8 +35,10 @@ export function NativeReview() {
|
|
|
35
35
|
return createElement("div", { "data-native-review": true, hidden: true })
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
export function NativeNavbar({ title = "", children }) {
|
|
39
|
-
|
|
38
|
+
export function NativeNavbar({ title = "", pullToRefresh = true, children }) {
|
|
39
|
+
const props = { "data-native-navbar": title, hidden: true }
|
|
40
|
+
if (!pullToRefresh) props["data-native-pull-to-refresh"] = "false"
|
|
41
|
+
return createElement("div", props, children)
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
export function NativeButton({ position = "trailing", icon, icons, title, href, click, selected, children }) {
|