added propType for children validation