Skip to content

Commit

Permalink
feat: replace history chevrons with undo/redo icons
Browse files Browse the repository at this point in the history
  • Loading branch information
goynang committed May 29, 2024
1 parent e0448f0 commit 91dff22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/components/MenuBar/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Dispatch, ReactElement, SetStateAction } from "react";
import { Globe, ChevronLeft, ChevronRight } from "lucide-react";
import { Globe, Undo2Icon, Redo2Icon } from "lucide-react";

import { Button } from "../Button";
import { IconButton } from "../IconButton/IconButton";
Expand Down Expand Up @@ -58,7 +58,7 @@ export const MenuBar = ({
<div className={getClassName("inner")}>
<div className={getClassName("history")}>
<IconButton title="undo" disabled={!hasPast} onClick={back}>
<ChevronLeft
<Undo2Icon
size={21}
stroke={
hasPast
Expand All @@ -68,7 +68,7 @@ export const MenuBar = ({
/>
</IconButton>
<IconButton title="redo" disabled={!hasFuture} onClick={forward}>
<ChevronRight
<Redo2Icon
size={21}
stroke={
hasFuture
Expand Down

0 comments on commit 91dff22

Please sign in to comment.