amotify 0.2.155 → 0.2.157

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