@@ -1,7 +1,7 @@
|
||||
import type { StorybookConfig } from "@storybook/react-vite";
|
||||
|
||||
import { join, dirname } from "path";
|
||||
|
||||
import type { StorybookConfig } from "@storybook/react-vite";
|
||||
|
||||
/**
|
||||
* This function is used to resolve the absolute path of a package.
|
||||
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import type { Preview } from "@storybook/react";
|
||||
import { BrowserRouter } from "react-router";
|
||||
import { useEffect } from "react";
|
||||
|
||||
import "../src/theme.css";
|
||||
import "./preview.css";
|
||||
import { BrowserRouter } from "react-router";
|
||||
import { useEffect } from "react";
|
||||
|
||||
const preview: Preview = {
|
||||
parameters: {
|
||||
|
||||
Reference in New Issue
Block a user