Skip to content

Commit

Permalink
feat: added cart slots
Browse files Browse the repository at this point in the history
  • Loading branch information
makiJS committed Jan 18, 2024
1 parent 008362c commit d120dbf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,13 @@ export class Cart extends LitElement {
</div>
<button class="remove-btn" @click=${() => this.__removeItem(item)}>
Remove
<slot name="remove"></slot>
</button>
</div>
</div>
<plodovi-checkout-button>Go to checkout</plodovi-checkout-button>
<plodovi-checkout-button>
<slot name="checkout"></slot>
</plodovi-checkout-button>
</div>
`
)}`
Expand Down

0 comments on commit d120dbf

Please sign in to comment.