Skip to content

Commit

Permalink
chore: move component fixtures to fixtures folder
Browse files Browse the repository at this point in the history
  • Loading branch information
receter committed Sep 9, 2024
1 parent f11a760 commit 6aac07d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { useRef } from "react";
import { useFixtureSelect, useValue } from "react-cosmos/client";

import SvgIconFocusLog from "../fixtures/resources/icon-focus-log.svg?react";
import { Button, ButtonA, classInlineIcon, Stack } from "../main";
import { Button, ButtonA, classInlineIcon, Stack } from "../lib/main";

import SvgIconFocusLog from "./resources/icon-focus-log.svg?react";

export default function ButtonFixture() {
const [label] = useValue("Label", { defaultValue: "Blick me!" });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useValue } from "react-cosmos/client";

import { FormField } from "../main";
import { FormField } from "../lib/main";

export default function FormFieldFixture() {
const [label] = useValue("Label", { defaultValue: "This is a label" });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useValue } from "react-cosmos/client";

import { Label } from "../main";
import { Label } from "../lib/main";

export default function LabelFixture() {
const [content] = useValue("Content", { defaultValue: "This is a label" });
Expand Down

0 comments on commit 6aac07d

Please sign in to comment.