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

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"),
},
});