Skip to content

Commit

Permalink
feat: toastContainer stub (#338)
Browse files Browse the repository at this point in the history
* feat: toastContainer stub

* Update src/lightning-stubs/toastContainer/toastContainer.js

Co-authored-by: Austin Andrews <admin@templarian.com>

* Update toastContainer.js

Removed unused `config` var to avoid linting error.

---------

Co-authored-by: Austin Andrews <admin@templarian.com>
  • Loading branch information
pozil and Templarian authored Oct 2, 2023
1 parent 55f5cd3 commit 05ea165
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/lightning-stubs/toastContainer/toastContainer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2023, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { LightningElement, api } from 'lwc';

export default class ToastContainer extends LightningElement {
static instance() {}
@api containerPosition;
@api maxToasts;
@api toastPosition;
@api close() {}
}

0 comments on commit 05ea165

Please sign in to comment.