Optional
childrenChildren shown when condition is true and no then
property was set.
Optional
elseOptional content to show when condition is false.
The condition to test. Must be a function or a signal returning a boolean.
Optional
thenOptional content to show when condition is true. If not set then the component children are used instead.
Properties for the If component.