carbon-components-svelte/src/Link/Link.stories.js
2020-07-19 09:06:08 -07:00

13 lines
400 B
JavaScript

import { withKnobs, boolean, text } from "@storybook/addon-knobs";
import Component from "./Link.Story.svelte";
export default { title: "Link", decorators: [withKnobs] };
export const Default = () => ({
Component,
props: {
href: text("The link href (href)", "#"),
inline: boolean("Use the in-line variant (inline)", false),
disabled: boolean("Disabled (disabled)", false),
},
});