ConditionalProps
ts
type ConditionalProps = ContextProps & object;Defined in: components/conditional.tsx:45
Props for the Conditional component.
Type Declaration
else?
ts
optional else?: object;Fallback branch if no condition matches
else.children
ts
children: DynamicElementProps[];elseIf?
ts
optional elseIf?: Condition[];Optional additional conditions (equivalent to "else if")
if
ts
if: Condition;Primary condition (equivalent to "if")
Since
1.0.0