mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
chore: remove storybook
This commit is contained in:
parent
856086dc71
commit
378fe06e03
116 changed files with 103 additions and 14249 deletions
|
@ -1,14 +0,0 @@
|
|||
<script>
|
||||
export let story = undefined;
|
||||
|
||||
import { Tooltip } from "../Tooltip";
|
||||
import FormLabel from "./FormLabel.svelte";
|
||||
</script>
|
||||
|
||||
{#if story === 'tooltip'}
|
||||
<FormLabel>
|
||||
<Tooltip triggerText="Label">This is the content of the tooltip.</Tooltip>
|
||||
</FormLabel>
|
||||
{:else}
|
||||
<FormLabel>Label</FormLabel>
|
||||
{/if}
|
|
@ -1,8 +0,0 @@
|
|||
import { withKnobs } from "@storybook/addon-knobs";
|
||||
import Component from "./FormLabel.Story.svelte";
|
||||
|
||||
export default { title: "FormLabel", decorators: [withKnobs] };
|
||||
|
||||
export const Default = () => ({ Component });
|
||||
|
||||
export const WithTooltip = () => ({ Component, props: { story: "tooltip" } });
|
Loading…
Add table
Add a link
Reference in a new issue