Interface: ISplitProps
molecule.component.ISplitProps
Hierarchy
HTMLElementProps
↳
ISplitProps
Properties
allowResize
• Optional
allowResize: boolean
| boolean
[]
Should allowed to resized
default is true
Defined in
components/split/SplitPane.tsx:37
children
• children: Element
[]
Defined in
components/split/SplitPane.tsx:31
className
• Optional
className: string
Overrides
HTMLElementProps.className
Defined in
components/split/SplitPane.tsx:55
paneClassName
• Optional
paneClassName: string
Defined in
components/split/SplitPane.tsx:57
resizerSize
• Optional
resizerSize: number
Specify the size fo resizer
defualt size is 4px
Defined in
components/split/SplitPane.tsx:63
role
• Optional
role: string
Inherited from
HTMLElementProps.role
Defined in
sashClassName
• Optional
sashClassName: string
Defined in
components/split/SplitPane.tsx:56
showSashes
• Optional
showSashes: boolean
| boolean
[]
Should show the sashes
default is true
Defined in
components/split/SplitPane.tsx:43
sizes
• sizes: (string
| number
)[]
Only support controlled mode, so it's required
Defined in
components/split/SplitPane.tsx:53
split
• Optional
split: "horizontal"
| "vertical"
How to split the space
default is vertical
Defined in
components/split/SplitPane.tsx:49
style
• Optional
style: CSSProperties
Inherited from
HTMLElementProps.style
Defined in
title
• Optional
title: string
Inherited from
HTMLElementProps.title
Defined in
Methods
onChange
▸ onChange(sizes
): void
Parameters
Name | Type |
---|---|
sizes | number [] |
Returns
void