- {(children as ComponentChild[])[0]
- ?
{children}
- : null
- }
- {!imageFile || showLoadingState ? 'Working…' :
+ {(children as ComponentChild[])[0] ? (
+
{children}
+ ) : null}
+ {!imageFile || showLoadingState ? (
+ 'Working…'
+ ) : (
- }
+ )}