UNPKG
show-hide-lib
Version:
latest (1.1.6)
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
A simple React component to show or hide content dynamically.
show-hide-lib
/
dist
/
index.d.mts
12 lines
(9 loc)
•
257 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
React
from
'react'
;
type
ShowHideProps
= {
show
?:
boolean
;
hide
?:
boolean
;
children
:
React
.
ReactNode
;
hiddenPlaceholder
?:
React
.
ReactNode
; };
declare
const
ShowHide
:
React
.
FC
<
ShowHideProps
>;
export
{
ShowHide
,
type
ShowHideProps
};