Browse Source

auto commit

app
jfinn 3 years ago
parent
commit
28bcfbcd57
1 changed files with 19 additions and 0 deletions
  1. 19
    0
      mdev/wv0.native.js

+ 19
- 0
mdev/wv0.native.js View File

@@ -1,6 +1,7 @@
1 1
 import { WebView } from 'react-native-webview';
2 2
 import React, { PureComponent,Component,Button as Button_v0, } from 'react';
3 3
 // import { Button as Button_v0,} from 'react';
4
+import { Button } from 'react';
4 5
 // Button as R_Button
5 6
 
6 7
 
@@ -76,6 +77,24 @@ function fncb_only(fn_name){
76 77
 
77 78
 
78 79
 
80
+class Wview_btns extends Component<Props> {
81
+    constructor(props) {
82
+        super(props);
83
+    }
84
+    render(){
85
+                         // color = { wv0_styles_dev.vb1_color || "#00ffffff" }
86
+        return (
87
+
88
+                         <Button 
89
+                         style = { wv0_styles_dev.vb1 || {}} 
90
+                         onPress = {fncb_only("vbx_press").fn.bind(this)}
91
+                         >
92
+             {wv0_styles_dev.vb1_txt  || "udef"}
93
+             </Button>
94
+            )
95
+
96
+    }
97
+}
79 98
 class Wview_vx extends Component<Props> {
80 99
     constructor(props) {
81 100
         super(props);

Loading…
Cancel
Save