From 3654c641cc386a6bf0105770d9e47f11cbf1c67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 2 Mar 2022 14:28:46 +0300 Subject: [PATCH] Fixed #2245 - Galleria containerStyle and containerClass TypeScript error --- api-generator/components/galleria.js | 6 +++--- src/components/galleria/Galleria.vue | 10 ++-------- src/views/galleria/GalleriaDoc.vue | 6 +++--- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/api-generator/components/galleria.js b/api-generator/components/galleria.js index 7a8a7ba9f..cc0ea47a7 100644 --- a/api-generator/components/galleria.js +++ b/api-generator/components/galleria.js @@ -133,13 +133,13 @@ const GalleriaProps = [ }, { name: "containerStyle", - type: "string", + type: "any", default: "null", description: "Inline style of the component on fullscreen mode. Otherwise, the 'style' property can be used." }, { - name: "galleriaClass", - type: "string", + name: "containerClass", + type: "any", default: "null", description: "Style class of the component on fullscreen mode. Otherwise, the 'class' property can be used." } diff --git a/src/components/galleria/Galleria.vue b/src/components/galleria/Galleria.vue index ba5ed7929..7774b00b7 100755 --- a/src/components/galleria/Galleria.vue +++ b/src/components/galleria/Galleria.vue @@ -106,14 +106,8 @@ export default { type: String, default: null }, - containerStyle: { - type: String, - default: null - }, - containerClass: { - type: String, - default: null - } + containerStyle: null, + containerClass: null }, container: null, mask: null, diff --git a/src/views/galleria/GalleriaDoc.vue b/src/views/galleria/GalleriaDoc.vue index 7aff58886..b06e2591d 100755 --- a/src/views/galleria/GalleriaDoc.vue +++ b/src/views/galleria/GalleriaDoc.vue @@ -381,13 +381,13 @@ responsiveOptions: [ containerStyle - string + any null Inline style of the component on fullscreen mode. Otherwise, the 'style' property can be used. - galleriaClass - string + containerClass + any null Style class of the component on fullscreen mode. Otherwise, the 'class' property can be used.