You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* If condition evaluates to true, renders the <Then /> block will be rendered, otherwise renders the <Else /> block. Either block may be omitted.
*
* This component can contain any number of <Then /> or <Else /> blocks, but only the first block of the right type (either Then or Else, depending on the condition) will be rendered.
*/
export class If extends React.Component<IfOptions, any>{}
/** Must contain only a single child, which it renders as-is. Should not be used outside of an <If /> block. */
export class Then extends React.Component {}
/** Must only contain a single child, which it renders as-is. Should not be used outside of an <If /> block. */