mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
13 lines
400 B
JavaScript
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),
|
|
},
|
|
});
|