mirror of
https://github.com/coder/coder.git
synced 2026-11-06 00:03:36 +08:00
chore: replace MUI icons - 2 (#17732)
Replace icons: Check | CheckIcon KeyboardArrowDown | ChevronDownIcon KeyboardArrowUp | ChevronUpIcon
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import type { Interpolation, Theme } from "@emotion/react";
|
||||
import KeyboardArrowDown from "@mui/icons-material/KeyboardArrowDown";
|
||||
import KeyboardArrowUp from "@mui/icons-material/KeyboardArrowUp";
|
||||
import Button from "@mui/material/Button";
|
||||
import Collapse from "@mui/material/Collapse";
|
||||
import Skeleton from "@mui/material/Skeleton";
|
||||
@@ -11,6 +9,7 @@ import type {
|
||||
} from "api/typesGenerated";
|
||||
import sortBy from "lodash/sortBy";
|
||||
import uniqBy from "lodash/uniqBy";
|
||||
import { ChevronDownIcon, ChevronUpIcon } from "lucide-react";
|
||||
import { type FC, useState } from "react";
|
||||
import {
|
||||
type TimeRange,
|
||||
@@ -102,9 +101,9 @@ export const WorkspaceTimings: FC<WorkspaceTimingsProps> = ({
|
||||
onClick={() => setIsOpen((o) => !o)}
|
||||
>
|
||||
{isOpen ? (
|
||||
<KeyboardArrowUp css={{ fontSize: 16, marginRight: 16 }} />
|
||||
<ChevronUpIcon css={{ width: 16, height: 16, marginRight: 16 }} />
|
||||
) : (
|
||||
<KeyboardArrowDown css={{ fontSize: 16, marginRight: 16 }} />
|
||||
<ChevronDownIcon css={{ width: 16, height: 16, marginRight: 16 }} />
|
||||
)}
|
||||
<span>Build timeline</span>
|
||||
<span
|
||||
|
||||
Reference in New Issue
Block a user