import { Meta, Story } from "@storybook/angular"; import { BadgeComponent } from "./badge.component"; export default { title: "Jslib/Badge", component: BadgeComponent, args: { type: "primary", }, } as Meta; const Template: Story = (args: BadgeComponent) => ({ props: args, template: ` Span Badge

Link Badge

Button `, }); export const Primary = Template.bind({}); Primary.args = {}; export const Secondary = Template.bind({}); Secondary.args = { type: "secondary", }; export const Success = Template.bind({}); Success.args = { type: "success", }; export const Danger = Template.bind({}); Danger.args = { type: "danger", }; export const Warning = Template.bind({}); Warning.args = { type: "warning", }; export const Info = Template.bind({}); Info.args = { type: "info", };