From what I understand the Quran says nothing about transgender people. I've heard of quite a few trans Muslims who are fully accepted in their communities, and there are some trans cultural groups in Muslim countries such as the xaniths and hijras (the latter can also be Hindu, Sikh or Christian).
It's people like this who continue to give Islam a bad name worldwide.