UNPKG
@ashxjs/split-view
Version:
latest (1.0.6)
1.0.6
1.0.5
Simple react split-view component with resizing divider
@ashxjs/split-view
/
lib
/
LeftPanel
/
LeftPanel.d.ts
8 lines
(7 loc)
•
258 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
FunctionComponent
,
ReactNode
}
from
"react"
;
export
type
LeftPanelProps
= {
leftWidth
:
number
|
undefined
;
setLeftWidth
:
(
value
:
number
) =>
void
;
children
:
ReactNode
; };
export
declare
const
LeftPanel
:
FunctionComponent
<
LeftPanelProps
>;