UNPKG
@shinyongjun/react-datepicker
Version:
latest (3.6.0)
3.6.0
3.5.0
3.4.2
3.4.1
3.4.0
3.3.0
3.2.1
3.2.0
3.1.1
3.1.0
3.0.1
3.0.0
2.4.0
2.2.0
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.12.11
1.12.10
1.12.9
1.12.8
1.12.7
1.12.6
1.12.5
1.12.4
1.12.3
1.12.2
1.12.1
1.12.0
1.11.0
1.10.0
1.9.2
1.9.1
1.9.0
1.8.0
1.7.1
1.7.0
1.6.0
1.5.0
1.4.1
1.4.0
1.3.0
1.2.0
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.0.1
DatePicker component in React App.
www.shinyongjun.com/library
flamecommit/react-datepicker
@shinyongjun/react-datepicker
/
dist
/
esm
/
components
/
common
/
ConditionalWrapper.d.ts
9 lines
(8 loc)
•
263 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
ReactNode
}
from
'react'
;
interface
IProps
{
condition
:
boolean
;
wrapper
:
(
children
:
ReactNode
) =>
ReactNode
;
children
:
ReactNode
; }
export
default
function
ConditionalWrapper
(
{ condition, wrapper, children, }:
IProps
):
ReactNode
;
export
{};