update icon and text

This commit is contained in:
Abi Raja 2024-05-31 18:22:30 -04:00
parent 9cfcf928d0
commit a7c905a301

View File

@ -1,3 +1,4 @@
import { GiClick } from "react-icons/gi";
import { useAppStore } from "../../store/app-store";
import { Button } from "../ui/button";
@ -10,7 +11,10 @@ function SelectAndEditModeToggleButton() {
className="flex items-center gap-x-2 dark:text-white dark:bg-gray-700 regenerate-btn"
variant={inSelectAndEditMode ? "destructive" : "default"}
>
{inSelectAndEditMode ? "Exit selection mode" : "🖱️ Select and Edit"}
<GiClick className="text-lg" />
<span>
{inSelectAndEditMode ? "Exit selection mode" : "Select and update"}
</span>
</Button>
);
}