Skip to content

Commit

Permalink
[patch] fix ViraCollapsibleWrapper.slotNames.header usage
Browse files Browse the repository at this point in the history
  • Loading branch information
electrovir committed Apr 25, 2024
1 parent 4641889 commit 6816f6c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {defineBookPage} from 'element-book';
import {css, html, listen, renderIf} from 'element-vir';
import {ViraCollapsibleSlotNameEnum, ViraCollapsibleWrapper} from 'vira';
import {ViraCollapsibleWrapper} from 'vira';
import {elementsBookPage} from '../elements.book';

export const viraCollapsibleBookPage = defineBookPage({
Expand Down Expand Up @@ -40,7 +40,7 @@ export const viraCollapsibleBookPage = defineBookPage({
>
<div
class="section-header"
slot=${ViraCollapsibleSlotNameEnum.Header}
slot=${ViraCollapsibleWrapper.slotNames.header}
>
Section ${index}
</div>
Expand Down Expand Up @@ -96,7 +96,7 @@ export const viraCollapsibleBookPage = defineBookPage({
>
<div
class="section-header"
slot=${ViraCollapsibleSlotNameEnum.Header}
slot=${ViraCollapsibleWrapper.slotNames.header}
>
Section ${index}
</div>
Expand Down

0 comments on commit 6816f6c

Please sign in to comment.