react conditional render with function code example Example: inline if in html component Condition ? Block_For_True : Block_For_False