chore: remove storybook

This commit is contained in:
Eric Liu 2020-10-14 16:23:44 -07:00
commit 378fe06e03
116 changed files with 103 additions and 14249 deletions

View file

@ -1,13 +0,0 @@
<script>
import CopyButton from "./CopyButton.svelte";
</script>
<CopyButton
{...$$props}
on:click="{() => {
console.log('click');
}}"
on:animationend="{(e) => {
console.log('animation end', e.animationName);
}}"
/>

View file

@ -1,19 +0,0 @@
import { withKnobs, text, number } from "@storybook/addon-knobs";
import Component from "./CopyButton.Story.svelte";
export default { title: "CopyButton", decorators: [withKnobs] };
export const Default = () => ({
Component,
props: {
feedback: text("The text shown upon clicking (feedback)", "Copied!"),
feedbackTimeout: number(
"How long the text is shown upon clicking (feedbackTimeout)",
2000
),
iconDescription: text(
"Feedback icon description (iconDescription)",
"Copy to clipboard"
),
},
});