AiChangePreview API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
AiChangePreview6 props2 callbacks0 methods
Props6
| Name | Type | Description |
|---|---|---|
translationsOptional |
| Overrides the default UI strings. Supply only the entries you want to translate and retain any placeholders. |
summaryRequired | string | Summary content displayed before the component details. |
detailsOptional | string | undefined | Supplementary detail content associated with this item or message. |
changesOptional |
| Proposed before/after changes shown for review before applying them. |
noticeOptional | string | undefined | Additional notice shown with the proposed AI changes. |
disabledOptional | boolean | undefined | Disables user interaction with the control. |
Events and callbacks2
| Name | Type | Description |
|---|---|---|
onApplyRequired |
| Commits the proposed edit. The application owns applying the emitted value or change. |
onCancelRequired |
| Cancels the current edit or proposed change without applying it. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.