diff --git a/src/components/Table/SortIcon.tsx b/src/components/Table/SortIcon.tsx new file mode 100644 index 0000000..edf763a --- /dev/null +++ b/src/components/Table/SortIcon.tsx @@ -0,0 +1,16 @@ +export function SortIcon() { + return ( + + ); +} diff --git a/src/components/Table/Table.tsx b/src/components/Table/Table.tsx index 218fb7c..cb5fc8b 100644 --- a/src/components/Table/Table.tsx +++ b/src/components/Table/Table.tsx @@ -3,6 +3,7 @@ import { ArrowDownUp, Search } from "lucide-react"; import { Fragment, ReactElement, ReactNode, useEffect, useState } from "react"; import { classnames } from "../utils/classnames"; import { attributes } from "../utils/attributes"; +import { SortIcon } from "./SortIcon"; export type TabSortState = "asc" | "desc" | null; @@ -95,7 +96,7 @@ export function Table({ >