Skip to content

Commit

Permalink
feat: update popupextra
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanqi9675 committed Jul 7, 2023
1 parent 3eae006 commit 2ecbf50
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions packages/quarkd/src/popupextra/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,16 @@ class QuarkPopupExtra extends QuarkElement {
this.title || this.subtitle ? "quark-popup-extra-header" : ""
}
>
<div className="quark-popup-extra-toper">
<slot name="title">
<slot name="title">
<div className="quark-popup-extra-toper">
<div className="quark-popup-extra-title">{this.title}</div>
</slot>
</div>
{this.subtitle && (
<div className="quark-popup-extra-subtitle">{this.subtitle}</div>
)}
</div>
{this.subtitle && (
<div className="quark-popup-extra-subtitle">
{this.subtitle}
</div>
)}
</slot>
</header>
<div
className={this.contentClassNames}
Expand Down

0 comments on commit 2ecbf50

Please sign in to comment.