update icon and text
This commit is contained in:
parent
9cfcf928d0
commit
a7c905a301
@ -1,3 +1,4 @@
|
|||||||
|
import { GiClick } from "react-icons/gi";
|
||||||
import { useAppStore } from "../../store/app-store";
|
import { useAppStore } from "../../store/app-store";
|
||||||
import { Button } from "../ui/button";
|
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"
|
className="flex items-center gap-x-2 dark:text-white dark:bg-gray-700 regenerate-btn"
|
||||||
variant={inSelectAndEditMode ? "destructive" : "default"}
|
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>
|
</Button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user