Would you still be friends with a friend who had a child?

Would you still be friends with a friend who had a child, or would that ruin the relationship for you?