feat(ui): introduces storybook

- adds the necessary dependencies and configuration for Storybook.
- refactors the `Button` component and adds some stories for it.
This commit is contained in:
Brian McGee
2025-05-26 12:26:38 +01:00
parent 7503784699
commit bf993af56f
35 changed files with 6805 additions and 56 deletions

View File

@@ -5,7 +5,7 @@ import {
SubmitHandler,
} from "@modular-forms/solid";
import { TextInput } from "@/src/Form/fields/TextInput";
import { Button } from "./components/button";
import { Button } from "./components/Button/Button";
import { callApi } from "./api";
import { API } from "@/api/API";
import { createSignal, Match, Switch } from "solid-js";