Snippet for react render component