Skip to content

Commit c8738cc

Browse files
committed
rename ui components to lowercase for consistency
1 parent efe60e7 commit c8738cc

File tree

13 files changed

+11
-11
lines changed

13 files changed

+11
-11
lines changed

src/components/DataTable/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
TableHeader,
1515
TableProps,
1616
TableRow,
17-
} from "@/components/ui/Table"
17+
} from "@/components/ui/table"
1818

1919
import { trackCustomEvent } from "@/lib/utils/matomo"
2020

src/components/FindWalletProductTable/hooks/useWalletColumns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Wallet } from "@/lib/types"
77
import type { TableMeta } from "@/components/DataTable"
88
import WalletInfo from "@/components/FindWalletProductTable/WalletInfo"
99
import { Button } from "@/components/ui/buttons/Button"
10-
import { TableCell } from "@/components/ui/Table"
10+
import { TableCell } from "@/components/ui/table"
1111

1212
import { trackCustomEvent } from "@/lib/utils/matomo"
1313

src/components/Layer2NetworksTable/hooks/useNetworkColumns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import NetworkMaturityTooltip from "@/components/Layer2NetworksTable/NetworkMatu
1212
import InlineLink from "@/components/Link"
1313
import Tooltip from "@/components/Tooltip"
1414
import { Button } from "@/components/ui/buttons/Button"
15-
import { TableCell, TableHead } from "@/components/ui/Table"
15+
import { TableCell, TableHead } from "@/components/ui/table"
1616

1717
import { cn } from "@/lib/utils/cn"
1818
import { trackCustomEvent } from "@/lib/utils/matomo"

src/components/MdComponents/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { ButtonLink } from "../ui/buttons/Button"
2727
import { Divider } from "../ui/divider"
2828
import { Flex } from "../ui/flex"
2929
import { ListItem, OrderedList, UnorderedList } from "../ui/list"
30-
import { mdxTableComponents } from "../ui/Table"
30+
import { mdxTableComponents } from "../ui/table"
3131
import { Tag } from "../ui/tag"
3232

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

src/components/ProductTable/FilterInputs/SwitchFilterInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { IconType } from "react-icons"
33

44
import { FilterInputState } from "@/lib/types"
55

6-
import Switch from "@/components/ui/Switch"
6+
import Switch from "@/components/ui/switch"
77

88
interface SwitchFilterInputProps {
99
Icon?: IconType

src/components/StablecoinsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
TableHead,
1010
TableHeader,
1111
TableRow,
12-
} from "./ui/Table"
12+
} from "./ui/table"
1313

1414
import { useRtlFlip } from "@/hooks/useRtlFlip"
1515

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from "react"
22
import { Meta, type StoryObj } from "@storybook/react"
33

4-
import SwitchComponent from "../Switch"
4+
import SwitchComponent from "../switch"
55

66
const meta = {
77
title: "Atoms / Form / Switch",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ 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"
5+
import { Table as TableComponent } from "../../table"
66

77
import {
88
MdxDemoData,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
TableHead,
99
TableHeader,
1010
TableRow,
11-
} from "../../Table"
11+
} from "../../table"
1212

1313
/*
1414
* Note on the Chakra Table components:
File renamed without changes.

0 commit comments

Comments
 (0)