import { renderRoleIcon } from "./roleIconPaths"

interface RoleTraceIconProps {
  icon: string
}

export function RoleTraceIcon({ icon }: RoleTraceIconProps) {
  return (
    <span className="message-trace-role-icon" aria-hidden="true">
      {renderRoleIcon(icon, { width: 14, height: 14, strokeWidth: 1.8 })}
    </span>
  )
}
