amotify 0.2.154 → 0.2.156

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.
@@ -37,37 +37,21 @@ let Test = () => {
37
37
  <Column
38
38
  padding={ 2 }
39
39
  >
40
- <Input.TextField.Money.JPY
41
- label='金額'
42
- form='test'
43
- name='price'
44
- required
45
- allowDecimals
46
- onUpdateValidValue={ value => {
47
- console.log( value,Number( value ) );
40
+ <Input.Autocomplete
41
+ options={ [
42
+ { label: 'Option 1',value: 'option1' },
43
+ { label: 'Option 2',value: 'option2' },
44
+ { label: 'Option 3',value: 'option3' },
45
+ ] }
46
+ DynamicOptionsOnSearch={ async ( keyword ) => {
47
+ console.log( keyword )
48
+ return [
49
+ { label: 'Option 1',value: 'option1' },
50
+ { label: 'Option 2',value: 'option2' },
51
+ { label: 'Option 3',value: 'option3' },
52
+ ]
48
53
  } }
49
54
  />
50
- <Button.Sub
51
- submitOption={ {
52
- formName: 'test',
53
- callback: ( data ) => {
54
- console.log( data )
55
- }
56
- } }
57
- >
58
- Submit
59
- </Button.Sub>
60
- <Button.Sub.L
61
- backgroundColor='nega'
62
- >
63
- Sub L
64
- </Button.Sub.L>
65
- <Button.Link.Plain
66
- backgroundColor='nega'
67
- padding={ 3 }
68
- >
69
- Link
70
- </Button.Link.Plain>
71
55
  </Column>
72
56
  </Plate>
73
57
  {/* <DesignBook