fix: troca dos emojs por icons
This commit is contained in:
parent
6d0a3f0830
commit
4d566696e2
|
|
@ -1,6 +1,6 @@
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { LoaderPinwheel } from "lucide-react";
|
import { LoaderPinwheel, ChevronDown, ChevronRight } from "lucide-react";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import AnaliticoComponent from "./analitico";
|
import AnaliticoComponent from "./analitico";
|
||||||
|
|
||||||
|
|
@ -488,9 +488,11 @@ export default function Teste() {
|
||||||
onClick={() => toggleGroup(row.grupo!)}
|
onClick={() => toggleGroup(row.grupo!)}
|
||||||
className="p-2 hover:bg-blue-100 rounded-lg transition-all duration-200 flex items-center justify-center w-8 h-8 flex-shrink-0"
|
className="p-2 hover:bg-blue-100 rounded-lg transition-all duration-200 flex items-center justify-center w-8 h-8 flex-shrink-0"
|
||||||
>
|
>
|
||||||
<span className="text-blue-600 font-bold text-sm">
|
{row.isExpanded ? (
|
||||||
{row.isExpanded ? "▼" : "▶"}
|
<ChevronDown className="w-4 h-4 text-blue-600" />
|
||||||
</span>
|
) : (
|
||||||
|
<ChevronRight className="w-4 h-4 text-blue-600" />
|
||||||
|
)}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
onClick={() => handleRowClick(row)}
|
onClick={() => handleRowClick(row)}
|
||||||
|
|
@ -507,9 +509,11 @@ export default function Teste() {
|
||||||
onClick={() => toggleSubgrupo(`${row.grupo}-${row.subgrupo}`)}
|
onClick={() => toggleSubgrupo(`${row.grupo}-${row.subgrupo}`)}
|
||||||
className="p-2 hover:bg-blue-100 rounded-lg transition-all duration-200 flex items-center justify-center w-8 h-8 flex-shrink-0"
|
className="p-2 hover:bg-blue-100 rounded-lg transition-all duration-200 flex items-center justify-center w-8 h-8 flex-shrink-0"
|
||||||
>
|
>
|
||||||
<span className="text-blue-600 font-bold text-sm">
|
{row.isExpanded ? (
|
||||||
{row.isExpanded ? "▼" : "▶"}
|
<ChevronDown className="w-4 h-4 text-blue-600" />
|
||||||
</span>
|
) : (
|
||||||
|
<ChevronRight className="w-4 h-4 text-blue-600" />
|
||||||
|
)}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
onClick={() => handleRowClick(row)}
|
onClick={() => handleRowClick(row)}
|
||||||
|
|
@ -530,9 +534,11 @@ export default function Teste() {
|
||||||
}
|
}
|
||||||
className="p-2 hover:bg-blue-100 rounded-lg transition-all duration-200 flex items-center justify-center w-8 h-8 flex-shrink-0"
|
className="p-2 hover:bg-blue-100 rounded-lg transition-all duration-200 flex items-center justify-center w-8 h-8 flex-shrink-0"
|
||||||
>
|
>
|
||||||
<span className="text-blue-600 font-bold text-sm">
|
{row.isExpanded ? (
|
||||||
{row.isExpanded ? "▼" : "▶"}
|
<ChevronDown className="w-4 h-4 text-blue-600" />
|
||||||
</span>
|
) : (
|
||||||
|
<ChevronRight className="w-4 h-4 text-blue-600" />
|
||||||
|
)}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
onClick={() => handleRowClick(row)}
|
onClick={() => handleRowClick(row)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue