change IRenderProps to take both props & state