mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: remove storybook
This commit is contained in:
parent
856086dc71
commit
378fe06e03
116 changed files with 103 additions and 14249 deletions
|
@ -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);
|
||||
}}"
|
||||
/>
|
|
@ -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"
|
||||
),
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue