@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
33 lines (32 loc) • 688 B
JavaScript
;
import { renderButtonSet } from "./index.js";
import { args, argTypes } from "./index.js";
const variant = "negative";
const treatment = "fill";
export default {
component: "sp-button",
title: "Button/Negative/Fill/Sizes",
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-negative-fill-sizes.stories.js.map