Add example to if else in JSX.