render props on layout