mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
14 lines
477 B
JavaScript
14 lines
477 B
JavaScript
import { withKnobs, boolean, text } from "@storybook/addon-knobs";
|
|
import Component from "./Loading.Story.svelte";
|
|
|
|
export default { title: "Loading", decorators: [withKnobs] };
|
|
|
|
export const Default = () => ({
|
|
Component,
|
|
props: {
|
|
active: boolean("Active (active)", true),
|
|
withOverlay: boolean("With overlay (withOverlay)", false),
|
|
small: boolean("Small (small)", false),
|
|
description: text("Description (description)", "Active loading indicator"),
|
|
},
|
|
});
|