Skip to content

Commit

Permalink
Fixed #2245 - Galleria containerStyle and containerClass TypeScript e…
Browse files Browse the repository at this point in the history
…rror
  • Loading branch information
tugcekucukoglu committed Mar 2, 2022
1 parent 923f236 commit 3654c64
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
6 changes: 3 additions & 3 deletions api-generator/components/galleria.js
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
Expand Down
10 changes: 2 additions & 8 deletions src/components/galleria/Galleria.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions src/views/galleria/GalleriaDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -381,13 +381,13 @@ responsiveOptions: [
</tr>
<tr>
<td>containerStyle</td>
<td>string</td>
<td>any</td>
<td>null</td>
<td>Inline style of the component on fullscreen mode. Otherwise, the 'style' property can be used.</td>
</tr>
<tr>
<td>galleriaClass</td>
<td>string</td>
<td>containerClass</td>
<td>any</td>
<td>null</td>
<td>Style class of the component on fullscreen mode. Otherwise, the 'class' property can be used.</td>
</tr>
Expand Down

0 comments on commit 3654c64

Please sign in to comment.