components/resize-handle
@fungi.computer/caps / components/resize-handle
components/resize-handle
Section titled “components/resize-handle”Type Aliases
Section titled “Type Aliases”ResizeHandleProps
Section titled “ResizeHandleProps”ResizeHandleProps =
Omit<HTMLAttributes<HTMLDivElement>>,"onChange"> > &object
Accessible grip presentation with caller-owned resize state and pointer gesture.
Type Declaration
Section titled “Type Declaration”aria-label
Section titled “aria-label”aria-label:
string
orientation
Section titled “orientation”orientation:
"horizontal"|"vertical"
variant?
Section titled “variant?”
optionalvariant?:"grip"|"notch"
value:
number
min:
number
max:
number
onValueChange
Section titled “onValueChange”onValueChange: (
value) =>void
Receives a clamped pixel position from keyboard controls.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void
Variables
Section titled “Variables”ResizeHandle
Section titled “ResizeHandle”
constResizeHandle:ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>>,"onChange"> > &object&RefAttributes<HTMLDivElement>>>>
Visual and keyboard surface for a caller-owned resize gesture.