Skip to content

Commit cf3c9be

Browse files
chore: replace table stories
1 parent 02f4644 commit cf3c9be

File tree

5 files changed

+2
-330
lines changed

5 files changed

+2
-330
lines changed

src/components/MdComponents/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import ButtonDropdown, {
88
} from "@/components/ButtonDropdown"
99
import Contributors from "@/components/Contributors"
1010
import MarkdownImage from "@/components/MarkdownImage"
11-
import { mdxTableComponents } from "@/components/Table"
1211
import TooltipLink from "@/components/TooltipLink"
1312
import YouTube from "@/components/YouTube"
1413

@@ -30,6 +29,7 @@ import { StandaloneQuizWidget } from "../Quiz/QuizWidget"
3029
import { ButtonLink } from "../ui/buttons/Button"
3130
import { Flex } from "../ui/flex"
3231
import { ListItem, OrderedList, UnorderedList } from "../ui/list"
32+
import { mdxTableComponents } from "../ui/Table"
3333

3434
export const commonHeadingAttributes = (className: string, id?: string) => ({
3535
id,

src/components/Table/index.tsx

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/components/Table/stories/Table.stories.tsx

Lines changed: 0 additions & 54 deletions
This file was deleted.

src/components/Table/stories/mockMdxData.tsx

Lines changed: 0 additions & 229 deletions
This file was deleted.

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,8 @@ import {
1111
} from "./mockMdxData"
1212

1313
const meta = {
14-
title: "Molecules / Display Content / ShadCN Tables",
14+
title: "Molecules / Display Content / Tables",
1515
component: TableComponent,
16-
parameters: {
17-
// TODO: Remove this when this story file becomes the primary one
18-
chromatic: { disableSnapshot: true },
19-
},
2016
decorators: [
2117
(Story) => (
2218
<Flex flexDir="column" gap={16} maxW="container.md">

0 commit comments

Comments
 (0)