Skip to components
DEVELOPER REFERENCE · v4.0.0

AiChangePreview API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

AiChangePreview6 props2 callbacks0 methods

Props6

AiChangePreview props
NameTypeDescription
translationsOptional
AiUiTranslationsInspect type
Overrides the default UI strings. Supply only the entries you want to translate and retain any placeholders.
summaryRequiredstringSummary content displayed before the component details.
detailsOptionalstring | undefinedSupplementary detail content associated with this item or message.
changesOptional
readonly AiPreviewChange[] | undefinedInspect type
Proposed before/after changes shown for review before applying them.
noticeOptionalstring | undefinedAdditional notice shown with the proposed AI changes.
disabledOptionalboolean | undefinedDisables user interaction with the control.

Events and callbacks2

AiChangePreview events and callbacks
NameTypeDescription
onApplyRequired
() => voidInspect type
Commits the proposed edit. The application owns applying the emitted value or change.
onCancelRequired
() => voidInspect type
Cancels the current edit or proposed change without applying it.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.