UNPKG
visual-box
Version:
latest (1.0.8)
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Draw a box on the re-rendering component.
o-henry.github.io
o-henry/render-box
visual-box
/
dist
/
index.d.ts
8 lines
(7 loc)
•
220 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
React
from
'react'
;
declare
type
Box
= { [
key
:
string
]:
any
;
children
?:
React
.
ReactNode
; };
declare
const
Box
:
(
Component
:
React
.
ElementType
<
Box
|
any
>
) =>
(
props
:
Box
) =>
JSX
.
Element
;
export
default
Box
;