Why is a PNG appearing transparent in solid view but not in rendered view? I am trying to make some eyelashes for a model but I don't want to use particles so I've resorted to using a PNG texture on a plane. However it only works in solid view. When I switch to rendered it messes it up completely.

I've tried messing with alpha clip/hashed or what have you and that's not worked and I am running out of ideas here. Here's a picture of the node setup I'm using.
And here is the texture I'm using.


I'm only using a diffuse texture because I don't know how to make opacity/alpha maps or whatever they're called.
Also sorry for bad formatting, I'm not used to this text editor. If you need me to elaborate then I will. This is all I could think of on the spot related to my problem.
You don't need the color as transparency,
and you don't need the last set of nodes.
Why would you have black transparency? It will make it opaque.

The  mix with a transparent shader should be at the end of the node chain.
Or you can just use the alpha input on the principled shader, as noted on the other answer.