I'm not familiar with danios but I went through a similar experience with my guppies. When my guppies first had babies I had to keep them in a small plastic container the first couple of days too. They did fine in it though. They're better off in a small space at first, they can find food...