Extract branch operand into its own React class