Components / Resizable

Basic Usage

Wrap any content in a MayaResizable component. Drag the bottom-right corner to resize.

Resizable Component

Resizable API

Prop / EventTypeDefaultDescription
minWidthstring'180px'Minimum width allowed for the container.
minHeightstring'120px'Minimum height allowed for the container.
maxWidthstring'100%'Maximum width allowed for the container.
maxHeightstring'100%'Maximum height allowed for the container.