amotify 0.2.155 → 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.
@@ -38,39 +38,20 @@ let Test = () => {
38
38
  padding={ 2 }
39
39
  >
40
40
  <Input.Autocomplete
41
- options={ [] }
42
- />
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 ) );
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
+ ]
51
53
  } }
52
54
  />
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
55
  </Column>
75
56
  </Plate>
76
57
  {/* <DesignBook