Skip to content

Commit

Permalink
Fixed data-extra-classes attribute in OffcanvasHeader.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
sreidthomas committed Aug 27, 2024
1 parent f7fc672 commit aa52347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/atoms/OffcanvasHeader/OffcanvasHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default class OffcanvasHeader extends HTMLElement {
this.closeBtn.setAttribute('data-bs-dismiss', parentID);
extraClasses ? offcanvasHeaderClasses.push(extraClasses) : 0;
btnDark === 'true'
? this.closeBtn.setAttribute('extra-classes', 'btn-close-white')
? this.closeBtn.setAttribute('data-extra-classes', 'btn-close-white')
: 0;
const expand = this.getAttribute('data-expand');
if (expand) {
Expand Down

0 comments on commit aa52347

Please sign in to comment.