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