|
@@ -1,7 +1,7 @@
|
1
|
1
|
import { WebView } from 'react-native-webview';
|
2
|
2
|
import React, { PureComponent,Component } from 'react';
|
3
|
3
|
// Button as R_Button
|
4
|
|
-
|
|
4
|
+import { Button, useTheme } from 'react-native-paper';
|
5
|
5
|
import {
|
6
|
6
|
Animated,
|
7
|
7
|
Keyboard,
|
|
@@ -34,7 +34,8 @@ function onMsg(event ){
|
34
|
34
|
|
35
|
35
|
type Props = {}
|
36
|
36
|
// class Wview_ui extends AbstractButton<Props> {
|
37
|
|
-class Wview_ui extends AbstractButton<Props, any> {
|
|
37
|
+class Wview_ui extends PureComponent<Props> {
|
|
38
|
+// class Wview_ui extends AbstractButton<Props, any> {
|
38
|
39
|
// icon = "IconMessage";
|
39
|
40
|
constructor(props) {
|
40
|
41
|
super(props);
|
|
@@ -42,7 +43,9 @@ class Wview_ui extends AbstractButton<Props, any> {
|
42
|
43
|
clog("Wview_v1 init")
|
43
|
44
|
}
|
44
|
45
|
|
45
|
|
- // render() { }
|
|
46
|
+ render() {
|
|
47
|
+ // return
|
|
48
|
+ }
|
46
|
49
|
|
47
|
50
|
}
|
48
|
51
|
class Wview_v1 extends PureComponent<Props> {
|
|
@@ -113,6 +116,9 @@ injectedJs =`
|
113
|
116
|
// <Wview_ui style = { wv0_styles_dev.vb1 || {}} />
|
114
|
117
|
return (
|
115
|
118
|
<View style = { wv0_styles_dev.v1 || {} }>
|
|
119
|
+ <Button style = { wv0_styles_dev.vb1 || {}} >
|
|
120
|
+ {t('polls.create.create')}
|
|
121
|
+ </Button>
|
116
|
122
|
<Text style = { wv0_styles_dev.txt || {} }
|
117
|
123
|
>
|
118
|
124
|
Z??
|