amotify 0.2.54 → 0.2.56

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.
@@ -28,8 +28,65 @@ import {
28
28
  import '../../dist/@styles/style.css'
29
29
 
30
30
 
31
+ import { faRobot } from '@fortawesome/free-solid-svg-icons/faRobot'
32
+
31
33
  let Test = () => {
34
+ let [ val_value,set_value ] = React.useState( 'test1' )
35
+
36
+ useEffect( () => {
37
+ setTimeout( () => {
38
+ set_value( 'test22' )
39
+ },1000 );
40
+ },[] )
41
+ return <Column>
42
+ <Input.Hidden
43
+ form='testForm'
44
+ name='hidden'
45
+ value={ val_value }
46
+ />
47
+ <Button.Button.Prime.R
48
+ submitOption={ {
49
+ formName: 'testForm',
50
+ callback: ( form ) => {
51
+ console.log( form )
52
+ }
53
+ } }
54
+ >
55
+ Submit
56
+ </Button.Button.Prime.R>
57
+ </Column>
58
+ // return <Box
59
+ // height={ 'viewHeight' }
60
+ // >
61
+ // <Box
62
+ // margin={ 'auto' }
63
+ // height={ 'viewHeight' }
64
+ // flexCenter
65
+ // freeCSS={ {
66
+ // aspectRatio: '1/1',
67
+ // backgroundColor: '#a7b5c1'
68
+ // } }
69
+ // >
70
+ // <FAI
71
+ // icon={ faRobot }
72
+ // freeCSS={ {
73
+ // fontSize: '80vh',
74
+ // color: '#c1cad4'
75
+ // } }
76
+ // />
77
+ // </Box>
78
+ // </Box>
32
79
  return <>
80
+ <Button.Button.Prime.R
81
+ submitOption={ {
82
+ formName: 'testForm',
83
+ callback: ( form ) => {
84
+ console.log( form )
85
+ }
86
+ } }
87
+ >
88
+ Submit
89
+ </Button.Button.Prime.R>
33
90
  <DesignBook
34
91
  />
35
92
  </>