refactor: reorganize components
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import { panelStore } from "../../stores/panelStore";
|
||||
import { panelStorage } from "$lib/utils/panelStorage";
|
||||
import type { Panel } from "$lib/types/panel";
|
||||
import { IconButton } from "$lib/components/ui";
|
||||
import IconButton from "../ui/IconButton.svelte";
|
||||
|
||||
interface Props {
|
||||
onPanelSelect: (panel: Panel) => void;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
type TextItem = Panel["texts"][0];
|
||||
import { Stage, Layer, Image, Text } from "svelte-konva";
|
||||
import { Button } from "$lib/components/ui";
|
||||
import Button from "../ui/Button.svelte";
|
||||
|
||||
interface Props {
|
||||
panel: Panel;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import type { Panel } from "$lib/types/panel";
|
||||
import PanelPreview from "./PanelPreview.svelte";
|
||||
import { Button } from "$lib/components/ui";
|
||||
import Button from "../ui/Button.svelte";
|
||||
|
||||
interface Props {
|
||||
panels: Panel[];
|
||||
|
||||
Reference in New Issue
Block a user