UNPKG
react-morphing-modal
Version:
latest (0.2.2)
0.2.2
0.2.1
0.2.0
0.1.0
0.0.2
0.0.1
React morphing modal! The easiest way to be fancy!
react-morphing-modal
/
dist
/
Modal.d.ts
11 lines
(10 loc)
•
289 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
React
from
'react'
;
export
interface
ModalProps
{
state
:
number
;
placeholderRef
:
React
.
MutableRefObject
<
HTMLDivElement
|
null
>;
close
:
() =>
void
;
closeButton
?:
boolean
;
padding
?:
boolean
; }
declare
const
Modal
:
React
.
FC
<
ModalProps
>;
export
{
Modal
};