The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
{/*
* _____ _
*|_ _|_ _____ _ __ | |_ _ _
* | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file
* | | \ V V / __/ | | | |_| |_| | DO NOT EDIT - changes will be overwritten
* |_| \_/\_/ \___|_| |_|\__|\__, | Generated by: npx nx generate:ui twenty-docs
* |___/
*
* This file is generated from the documentation data in packages/twenty-ui/generated.
* To update it, edit the component prop types or design tokens in twenty-ui and run:
* npx nx generate:ui twenty-docs
*/}
<ParamField body="axis" type=""x" | "y"" default="y without edge">
Pointer movement axis without `edge`: `y` for height or `x` for width.
</ParamField>
<ParamField body="defaultValue" type="number | (readonly string[] & number)" default="150">
Initial size when the handle owns its state.
</ParamField>
<ParamField body="direction" type=""normal" | "reverse"">
Physical increasing direction. Omit to follow the horizontal text direction; use `normal` or `reverse` for a fixed physical edge.
</ParamField>
<ParamField body="disabled" type="boolean" default="false">
Disables resizing and removes the handle from the tab order.
</ParamField>
<ParamField body="dragThreshold" type="number" default="5 with edge; 0 otherwise">
Physical pointer distance required before resizing starts. Movement below the threshold remains a click. Defaults to 5 with `edge` and 0 otherwise.
</ParamField>
<ParamField body="edge" type=""bottom" | "left" | "right" | "top"">
Physical panel edge. Determines the movement axis and increasing direction, independently of text direction.
</ParamField>
<ParamField body="max" type="number" default="500">
Maximum allowed size.
</ParamField>
<ParamField body="min" type="number" default="50">
Minimum allowed size.
</ParamField>
<ParamField body="onActivate" type="(() => void)">
Called for a click without dragging, Enter, or Space.
</ParamField>
<ParamField body="onResizeEnd" type="((details: { cancelled: boolean; value: number; }) => void)">
Called after a started drag ends, with its final value and whether it was cancelled. Cancellation restores the starting value within the current bounds.
</ParamField>
<ParamField body="onResizeStart" type="((value: number) => void)">
Called once with the first bounded drag value after the threshold is crossed.
</ParamField>
<ParamField body="onValueChange" type="((value: number) => void)">
Called with the bounded size during pointer or keyboard interaction and with the restored value on cancellation.
</ParamField>
<ParamField body="onValueCommitted" type="((value: number) => void)">
Called with the final size after a successful drag or an effective keyboard size change. Cancellation does not commit.
</ParamField>
<ParamField body="placement" type=""edge" | "gap" | "inline"" default="edge with edge; inline otherwise">
Layout mode: `inline` stays in normal flow, `edge` positions the handle on the panel edge, and `gap` sits between panels. Defaults to `edge` when `edge` is set and `inline` otherwise.
</ParamField>
<ParamField body="render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, {}>">
Allows you to replace the component's HTML element
with a different tag, or compose it with another component.
Accepts a `ReactElement` or a function that returns the element to render.
</ParamField>
<ParamField body="scale" type="number | (() => number)" default="1">
Pointer scale or resolver sampled at pointer down. Movement is divided by this positive scale; keyboard steps are unchanged.
</ParamField>
<ParamField body="step" type="number" default="10">
Keyboard arrow increment. Pointer movement uses the pixel delta.
</ParamField>
<ParamField body="value" type="number">
Current controlled size. Update it in `onValueChange` and apply it to the element being resized.
</ParamField>