Because the children property can be an array of React elements, we can access each individual React element and decide which one to render. We used the condition property to evaluate if the given condition is truthy to render the first React element. Otherwise, if the value is falsy, then the second React element is rendered.