UNPKG
@devino.solutions/upup
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
README.md
github.com/DevinoSolutions/upup
DevinoSolutions/upup
@devino.solutions/upup
/
dist
/
frontend
/
components
/
shared
/
ShouldRender.d.ts
6 lines
(5 loc)
•
226 B
TypeScript
View Raw
1
2
3
4
5
6
import
React
, {
PropsWithChildren
}
from
'react'
;
export
default
function
ShouldRender
(
{ children,
if
: condition, isLoading, }:
PropsWithChildren
<{
if
:
boolean
; isLoading?:
boolean
; }>
):
React
.
JSX
.
Element
|
null
;