Skip to content

Commit df238e8

Browse files
chore(components/ui/Table): move component file outside of stories folder
1 parent dd259bb commit df238e8

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/components/ui/__stories__/Table/Table.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ import * as React from "react"
22
import { Flex } from "@chakra-ui/react"
33
import { Meta, StoryObj } from "@storybook/react"
44

5+
import { Table as TableComponent } from "../../Table"
6+
57
import {
68
MdxDemoData,
79
MdxEnergyConsumpData,
810
MdxTypesOfBridgesData,
911
} from "./mockMdxData"
10-
import { Table as TableComponent } from "./Table"
1112

1213
const meta = {
1314
title: "Molecules / Display Content / ShadCN Tables",

src/components/ui/__stories__/Table/mockMdxData.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
import * as React from "react"
22

33
import InlineLink from "../../../../../tailwind/ui/Link"
4-
5-
import { TableBody, TableCell, TableHead, TableHeader, TableRow } from "./Table"
4+
import {
5+
TableBody,
6+
TableCell,
7+
TableHead,
8+
TableHeader,
9+
TableRow,
10+
} from "../../Table"
611

712
/*
813
* Note on the Chakra Table components:

0 commit comments

Comments
 (0)