Skip to content

Commit b629e3e

Browse files
committed
chore(docs): updated SortableColumns example to import SortOrder type
1 parent baad174 commit b629e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/documentation/src/components/Demos/Table/SortableColumns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React, { ReactElement, useState } from "react";
22
import { upperFirst } from "lodash";
33
import {
4+
SortOrder,
45
TableContainer,
56
Table,
67
TableHeader,
@@ -11,7 +12,6 @@ import {
1112
import desserts, { Dessert } from "constants/desserts";
1213

1314
type DessertKey = keyof Dessert;
14-
type SortOrder = "ascending" | "descending";
1515

1616
interface SortState {
1717
data: readonly Dessert[];

0 commit comments

Comments
 (0)