import type { RoleAccessSection } from "@/types/rolesAccess";
import { ExplorerIconTile } from "@/components/shared/GlassIcon";

export function RolesAccessExplorerIcon({ section, onOpen }: { section: RoleAccessSection; onOpen: (sectionId: string) => void }) {
  return <ExplorerIconTile titleFa={section.labelFa} iconName={section.icon} seed={section.id} onOpen={() => onOpen(section.id)} />;
}
