|
7 | 7 | name | type | default | description | required |
8 | 8 | -- | -- | -- | -- | -- |
9 | 9 | className | String | - | className of component | N |
10 | | -style | Object | - | CSS(Cascading Style Sheets),Typescript:`React.CSSProperties` | N |
| 10 | +style | Object | - | CSS(Cascading Style Sheets),Typescript: `React.CSSProperties` | N |
11 | 11 | autofocus | Boolean | - | \- | N |
12 | 12 | borderless | Boolean | false | \- | N |
13 | | -children | TNode | - | Typescript:`string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
| 13 | +children | TNode | - | Typescript: `string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
14 | 14 | clearable | Boolean | - | \- | N |
15 | 15 | disabled | Boolean | - | \- | N |
16 | | -empty | TNode | - | Typescript:`string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
17 | | -filter | Function | - | Typescript:`(filterWords: string, option: T) => boolean \| Promise<boolean>` | N |
| 16 | +empty | TNode | - | Typescript: `string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
| 17 | +filter | Function | - | Typescript: `(filterWords: string, option: T) => boolean \| Promise<boolean>` | N |
18 | 18 | filterable | Boolean | true | \- | N |
19 | 19 | highlightKeyword | Boolean | true | \- | N |
20 | | -inputProps | Object | - | Typescript:`InputProps`,[Input API Documents](./input?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/auto-complete/type.ts) | N |
21 | | -options | Array | - | Typescript:`Array<T>` | N |
22 | | -panelBottomContent | TNode | - | Typescript:`string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
23 | | -panelTopContent | TNode | - | Typescript:`string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
| 20 | +inputProps | Object | - | Typescript: `InputProps`,[Input API Documents](./input?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/auto-complete/type.ts) | N |
| 21 | +options | Array | - | Typescript: `Array<T>` | N |
| 22 | +panelBottomContent | TNode | - | Typescript: `string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
| 23 | +panelTopContent | TNode | - | Typescript: `string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
24 | 24 | placeholder | String | undefined | \- | N |
25 | 25 | popupProps | Object | - | Typescript:`PopupProps`,[Popup API Documents](./popup?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/auto-complete/type.ts) | N |
26 | 26 | readOnly | Boolean | - | \- | N |
27 | 27 | size | String | medium | options: small/medium/large。Typescript:`SizeEnum`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
28 | 28 | status | String | default | options: default/success/warning/error | N |
29 | | -textareaProps | Object | - | Typescript:`TextareaProps`,[Textarea API Documents](./textarea?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/auto-complete/type.ts) | N |
30 | | -tips | TNode | - | Typescript:`string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
31 | | -triggerElement | TNode | - | Typescript:`string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
| 29 | +textareaProps | Object | - | Typescript: `TextareaProps`,[Textarea API Documents](./textarea?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/auto-complete/type.ts) | N |
| 30 | +tips | TNode | - | Typescript: `string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
| 31 | +triggerElement | TNode | - | Typescript: `string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N |
32 | 32 | value | String | - | \- | N |
33 | 33 | defaultValue | String | - | uncontrolled property | N |
34 | | -onBlur | Function | | Typescript:`(context: { e: FocusEvent; value: string }) => void`<br/> | N |
35 | | -onChange | Function | | Typescript:`(value: string, context?: { e?: InputEvent \| MouseEvent \| CompositionEvent \| KeyboardEvent }) => void`<br/> | N |
36 | | -onClear | Function | | Typescript:`(context: { e: MouseEvent }) => void`<br/> | N |
37 | | -onCompositionend | Function | | Typescript:`(context: { e: CompositionEvent; value: string }) => void`<br/>trigger on compositionend | N |
38 | | -onCompositionstart | Function | | Typescript:`(context: { e: CompositionEvent; value: string }) => void`<br/>trigger on compositionstart | N |
39 | | -onEnter | Function | | Typescript:`(context: { e: KeyboardEvent; value: string }) => void`<br/> | N |
40 | | -onFocus | Function | | Typescript:`(context: { e: FocusEvent; value: string }) => void`<br/> | N |
41 | | -onSelect | Function | | Typescript:`(value: string, context: { e: MouseEvent \| KeyboardEvent }) => void`<br/> | N |
| 34 | +onBlur | Function | | Typescript: `(context: { e: FocusEvent; value: string }) => void`<br/> | N |
| 35 | +onChange | Function | | Typescript: `(value: string, context?: { e?: InputEvent \| MouseEvent \| CompositionEvent \| KeyboardEvent }) => void`<br/> | N |
| 36 | +onClear | Function | | Typescript: `(context: { e: MouseEvent }) => void`<br/> | N |
| 37 | +onCompositionend | Function | | Typescript: `(context: { e: CompositionEvent; value: string }) => void`<br/>trigger on compositionend | N |
| 38 | +onCompositionstart | Function | | Typescript: `(context: { e: CompositionEvent; value: string }) => void`<br/>trigger on compositionstart | N |
| 39 | +onEnter | Function | | Typescript: `(context: { e: KeyboardEvent; value: string }) => void`<br/> | N |
| 40 | +onFocus | Function | | Typescript: `(context: { e: FocusEvent; value: string }) => void`<br/> | N |
| 41 | +onSelect | Function | | Typescript: `(value: string, context: { e: MouseEvent \| KeyboardEvent }) => void`<br/> | N |
0 commit comments