Function freya_components::ResizableContainer 
source · pub fn ResizableContainer(_: ResizableContainerProps) -> ElementExpand description
Resizable container, used in combination with ResizablePanel() and ResizableHandle().
Example:
fn app() -> Element {
    rsx!(
        ResizableContainer {
            direction: "vertical",
            ResizablePanel {
                initial_size: 50.0,
                label {
                    "Panel 1"
                }
            }
            ResizableHandle { }
            ResizablePanel {
                initial_size: 50.0,
                min_size: 30.0,
                label {
                    "Panel 2"
                }
            }
        }
    )
}§Props
For details, see the props struct definition.
direction:StringDirection of the container,
vertical/horizontal. Default tovertical.children:ElementInner children for the ResizableContainer().