Thousands of pounds have been raised for the funeral of a young girl who died after a battling a rare heart condition.