@@ -1,6 +1,7 @@
|
||||
import { CenteredLayout } from "./CenteredLayout";
|
||||
import type { Meta, StoryObj } from "@storybook/react";
|
||||
|
||||
import { CenteredLayout } from "./CenteredLayout";
|
||||
|
||||
export default {
|
||||
title: "Layouts/CenteredLayout",
|
||||
component: CenteredLayout,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import type { PropsWithChildren } from "react";
|
||||
import { Outlet } from "react-router";
|
||||
|
||||
import { Skeleton } from "../Atoms/Skeleton/Skeleton";
|
||||
|
||||
export function CenteredLayout({ children }: PropsWithChildren) {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { ErrorLayout } from "./ErrorLayout";
|
||||
import type { Meta, StoryObj } from "@storybook/react";
|
||||
|
||||
import { ErrorLayout } from "./ErrorLayout";
|
||||
|
||||
export default {
|
||||
title: "Layouts/ErrorLayout",
|
||||
component: ErrorLayout,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import type { PropsWithChildren } from "react";
|
||||
|
||||
import { IconCircleInfo } from "../Atoms/Icons";
|
||||
|
||||
type Props = PropsWithChildren<{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Layout, Drawer } from "./Layout";
|
||||
import type { Meta, StoryObj } from "@storybook/react";
|
||||
|
||||
import { Layout, Drawer } from "./Layout";
|
||||
|
||||
const meta = {
|
||||
title: "Layouts/Base",
|
||||
component: Layout,
|
||||
|
||||
@@ -7,13 +7,14 @@ import {
|
||||
type ReactNode,
|
||||
useMemo,
|
||||
} from "react";
|
||||
import { createPortal } from "react-dom";
|
||||
import clsx from "clsx";
|
||||
import { Link } from "react-router";
|
||||
|
||||
import { Sidebar } from "../Atoms/Sidebar/Sidebar.tsx";
|
||||
import { Logo } from "../Atoms/Logo/Logo.tsx";
|
||||
import { Toasts } from "../Atoms/Toasts/Toasts.tsx";
|
||||
import { createPortal } from "react-dom";
|
||||
import clsx from "clsx";
|
||||
import { ConfirmDialog } from "../Molecules/Dialog/ConfirmDialog.tsx";
|
||||
import { Link } from "react-router";
|
||||
|
||||
type Props = PropsWithChildren<{
|
||||
headerLeading?: ReactNode;
|
||||
|
||||
Reference in New Issue
Block a user