Interface ResizeLayoutOwnProps

Source
Expand description

React component. A flex-box layout of 2 children, with a draggable divider between them.

interface ResizeLayoutOwnProps {
    disabled?: boolean;
    minHeight?: number;
    minWidth?: number;
    naturalSize?: boolean;
    setValuePercent: (percent: number) => void;
    touch?: boolean;
    valuePercent: number;
    vertical?: boolean;
}

Properties§

§disabled?: boolean

If the resizing is disabled

§minHeight?: number

The minimum pixel height of the first child

§minWidth?: number

The minimum pixel width of the first child

§naturalSize?: boolean

Use the natural size instead of valuePercent

§setValuePercent: { ... }

Callback to set the percentage size of the first child

§touch?: boolean

Optimize for touch screen

§valuePercent: number

The current percentage size of the first child

§vertical?: boolean

If the resize layout should be horizontal or vertical