From 05ea16500e7099927f59a44a87a340379fc4c780 Mon Sep 17 00:00:00 2001 From: Philippe Ozil Date: Mon, 2 Oct 2023 22:49:29 +0200 Subject: [PATCH] feat: toastContainer stub (#338) * feat: toastContainer stub * Update src/lightning-stubs/toastContainer/toastContainer.js Co-authored-by: Austin Andrews * Update toastContainer.js Removed unused `config` var to avoid linting error. --------- Co-authored-by: Austin Andrews --- .../toastContainer/toastContainer.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/lightning-stubs/toastContainer/toastContainer.js diff --git a/src/lightning-stubs/toastContainer/toastContainer.js b/src/lightning-stubs/toastContainer/toastContainer.js new file mode 100644 index 00000000..10fc84ca --- /dev/null +++ b/src/lightning-stubs/toastContainer/toastContainer.js @@ -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() {} +}