ACS-8198 add injection to component data

This commit is contained in:
Darya Balvanovich
2024-06-13 00:00:22 +02:00
committed by Darya Blavanovich
parent d8634c901a
commit f1fab8700a
5 changed files with 36 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ interface DialogData {
descriptionTemplate?: TemplateRef<any>;
headerIcon?: string;
additionalActionButtons?: AdditionalDialogActionButton[];
componentData: any;
}
```
@@ -48,6 +49,7 @@ interface DialogData {
| actionsTemplate | `TemplateRef<any>` | | Inserts a template styled on the left. Should be used for additional `mat-button` style buttons. (optional) |
| descriptionTemplate | `TemplateRef<any>` | | Inserts a description template. (optional) |
| additionalActionButtons | `AdditionalDialogActionButton[]` | | Inserts additional base-styled buttons into the action bar on the left. (optional) |
| componentData | `any` | | Data that injected in contentComponent. (optional) |
## See also