react if inside render() ( return) code example Example: inline if in html component Condition ? Block_For_True : Block_For_False