From 2d2e9d999115800949c6bc42f44a960619db2f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Mon, 29 May 2023 22:00:59 +0300 Subject: [PATCH] Refactor #3965 - For DynamicDialog --- components/lib/dynamicdialog/DynamicDialog.d.ts | 8 +++++++- components/lib/dynamicdialog/DynamicDialog.vue | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/components/lib/dynamicdialog/DynamicDialog.d.ts b/components/lib/dynamicdialog/DynamicDialog.d.ts index 7772584ed..3c730db63 100644 --- a/components/lib/dynamicdialog/DynamicDialog.d.ts +++ b/components/lib/dynamicdialog/DynamicDialog.d.ts @@ -12,7 +12,13 @@ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; /** * Defines valid properties in DynamicDialog component. */ -export interface DynamicDialogProps {} +export interface DynamicDialogProps { + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; +} /** * Defines valid emits in DynamicDialog component. diff --git a/components/lib/dynamicdialog/DynamicDialog.vue b/components/lib/dynamicdialog/DynamicDialog.vue index 5ad25f5d8..baa0baa6d 100644 --- a/components/lib/dynamicdialog/DynamicDialog.vue +++ b/components/lib/dynamicdialog/DynamicDialog.vue @@ -1,6 +1,6 @@