Think
Think
Show deep thinking process.
Importimport { Think } from "@ant-design/x"; |
Sourcecomponents/think |
Docs |
Importimport { Think } from "@ant-design/x"; |
Sourcecomponents/think |
Docs |
Used to show deep thinking process.
Common props ref:Common props
| Property | Description | Type | Default | Version |
|---|---|---|---|---|
| classNames | DOM class | Record<SemanticDOM, string> | - | - |
| styles | DOM style | Record<SemanticDOM, CSSProperties> | - | - |
| children | Think Content | React.ReactNode | - | - |
| title | Text of status | React.ReactNode | - | - |
| icon | Show icon | React.ReactNode | - | - |
| loading | Loading | boolean | React.ReactNode | false | - |
| defaultExpanded | Default Expand state | boolean | true | - |
| expanded | Expand state | boolean | - | - |
| onExpand | Callback when expand changes | (expand: boolean) => void | - | - |