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,10 +0,0 @@
|
|||
<script>
|
||||
import Filter16 from "carbon-icons-svelte/lib/Filter16";
|
||||
import TooltipIcon from "./TooltipIcon.svelte";
|
||||
</script>
|
||||
|
||||
<div>
|
||||
<TooltipIcon {...$$props}>
|
||||
<Filter16 />
|
||||
</TooltipIcon>
|
||||
</div>
|
|
@ -1,26 +0,0 @@
|
|||
import { withKnobs, select, text } from "@storybook/addon-knobs";
|
||||
import Component from "./TooltipIcon.Story.svelte";
|
||||
|
||||
export default { title: "TooltipIcon", decorators: [withKnobs] };
|
||||
|
||||
const directions = {
|
||||
"Top (top)": "top",
|
||||
"Right (right)": "right",
|
||||
"Bottom (bottom)": "bottom",
|
||||
"Left (left)": "left",
|
||||
};
|
||||
|
||||
const alignments = {
|
||||
"Start (start)": "start",
|
||||
"Center (center)": "center",
|
||||
"End (end)": "end",
|
||||
};
|
||||
|
||||
export const Default = () => ({
|
||||
Component,
|
||||
props: {
|
||||
direction: select("Tooltip direction (direction)", directions, "bottom"),
|
||||
align: select("Tooltip alignment (align)", alignments, "center"),
|
||||
tooltipText: text("Tooltip content (tooltipText)", "Filter"),
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue