UNPKG

@spectrum-web-components/button

Version:

An `<sp-button>` represents an action a user can take. sp-buttons can be clicked or tapped to perform an action or to navigate to another page. sp-buttons in Spectrum have several variations for different uses and multiple levels of loudness for various a

34 lines (33 loc) 737 B
"use strict"; import { makeOverBackground, renderButtonSet } from "./index.js"; import { args, argTypes } from "./index.js"; const variant = "white"; const treatment = "fill"; export default { component: "sp-button", title: "Button/White/Fill/Sizes", decorators: [makeOverBackground()], args: { ...args, variant, treatment }, argTypes }; export const s = (args2) => renderButtonSet(args2); s.args = { size: "s" }; export const m = (args2) => renderButtonSet(args2); m.args = { size: "m" }; export const l = (args2) => renderButtonSet(args2); l.args = { size: "l" }; export const XL = (args2) => renderButtonSet(args2); XL.args = { size: "xl" }; //# sourceMappingURL=button-white-fill-sizes.stories.js.map