turn-off-scheduled-backups.stories.mjs (865B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 // eslint-disable-next-line import/no-unresolved 6 import { html } from "lit.all.mjs"; 7 import "chrome://global/content/elements/moz-card.mjs"; 8 import "./turn-off-scheduled-backups.mjs"; 9 10 window.MozXULElement.insertFTLIfNeeded("browser/backupSettings.ftl"); 11 window.MozXULElement.insertFTLIfNeeded("branding/brand.ftl"); 12 13 export default { 14 title: "Domain-specific UI Widgets/Backup/Turn Off Scheduled Backups", 15 component: "turn-off-scheduled-backups", 16 argTypes: {}, 17 }; 18 19 const Template = () => html` 20 <moz-card style="width: 27.8rem;"> 21 <turn-off-scheduled-backups></turn-off-scheduled-backups> 22 </moz-card> 23 `; 24 25 export const Default = Template.bind({});