/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import { html, ifDefined } from "../vendor/lit.all.mjs"; import "./moz-box-button.mjs"; export default { title: "UI Widgets/Box Button", component: "moz-box-button", argTypes: { l10nId: { options: ["moz-box-button-label", "moz-box-button-label-description"], control: { type: "select" }, }, }, parameters: { status: "in-development", fluent: ` moz-box-button-label = .label = Click me to navigate! moz-box-button-label-description = .label = Click me to navigate! .description = Some description of the button `, }, }; const Template = ({ l10nId, disabled, iconSrc, accesskey, clickHandler, }) => html`