Do you think it's fair to have children with the possibility of passing on a mental illness?

If a person has depression, anxiety, etc. do you think it's fair to have a child with the possibility of that child having the same thing? If the mental illness(es) may have run in your family, would it be a nice thing to do to a person?

I'm sure some people who have never had these things might say yes. Or others might say it's not that bad, at least it's not schizophrenia or some physical issue. Yes I agree they are both pretty serious, but depression and other mental illness are also a struggle for people who have it.
Do you think it's fair to have children with the possibility of passing on a mental illness?
Post Opinion