chore: lift components folder

This commit is contained in:
Eric Liu 2020-07-19 09:06:08 -07:00
commit 2200b29b92
301 changed files with 57 additions and 76 deletions

View file

@ -1,29 +0,0 @@
import { withKnobs, select, text, number } from "@storybook/addon-knobs";
import Component from "./InlineLoading.Story.svelte";
export default { title: "InlineLoading", decorators: [withKnobs] };
const loadingStatus = ["inactive", "active", "finished", "error"];
export const Default = () => ({
Component,
props: {
status: select("Loading status (status)", loadingStatus, "active"),
iconDescription: text(
"Icon description (iconDescription)",
"Active loading indicator"
),
description: text(
"Loading progress description (description)",
"Loading data..."
),
successDelay: number(
"The duration for successful state before `on:success` fires (successDelay)",
1500
),
},
});
export const UxExample = () => ({ Component, props: { story: "ux-example" } });
UxExample.story = { name: "UX Example" };