@ruby-native/react 0.9.2 → 0.9.4

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.
Files changed (3) hide show
  1. package/README.md +1 -0
  2. package/index.js +4 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -35,6 +35,7 @@ Each component renders a hidden `data-native-*` signal element that the Ruby Nat
35
35
  - `NativeTabs` - show the native tab bar
36
36
  - `NativePush` - request push notification permission
37
37
  - `NativeForm` - mark the current page as a form so back navigation skips it
38
+ - `NativeReview` - ask for an App Store review prompt when the page loads
38
39
  - `NativeNavbar` - native navigation bar with title and buttons
39
40
  - `NativeButton` - native nav bar button (icon, title, href, or click target)
40
41
  - `NativeMenuItem` - item inside a native menu
package/index.js CHANGED
@@ -31,6 +31,10 @@ export function NativeForm() {
31
31
  return createElement("div", { "data-native-form": true, hidden: true })
32
32
  }
33
33
 
34
+ export function NativeReview() {
35
+ return createElement("div", { "data-native-review": true, hidden: true })
36
+ }
37
+
34
38
  export function NativeNavbar({ title = "", children }) {
35
39
  return createElement("div", { "data-native-navbar": title, hidden: true }, children)
36
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruby-native/react",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "description": "React components for Ruby Native",
5
5
  "main": "index.js",
6
6
  "files": ["index.js", "README.md"],