Skip to content

The open alternative to Salesforce, designed for AI.

1.9 KB
Raw Blame
{/*
 * _____                    _
 *|_   _|_      _____ _ __ | |_ _   _
 *  | | \ \ /\ / / _ \ '_ \| __| | | | 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="action" type="ReactNode">
  Optional action content beside the value. The caller supplies controls, accessible names, and handlers.
</ParamField>

<ParamField body="children" type="ReactNode" required>
  Value content rendered in the description definition. Text and multiple items wrap within the available space.
</ParamField>

<ParamField body="className" type="string">
  CSS class applied to the row root.
</ParamField>

<ParamField body="label" type="ReactNode" required>
  Visible label rendered as the description term.
</ParamField>

<ParamField body="labelWidth" type="Width&lt;string | number&gt;" default="7rem">
  Preferred label column width. Numbers use pixels. The column is capped at 40% of the row width; use the same width for aligned sibling rows.
</ParamField>

<ParamField body="ref" type="Ref&lt;HTMLDivElement&gt;">
  Ref forwarded to the row root div.
</ParamField>

<ParamField body="render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, {}&gt;">
  Customizes the row root. Preserve a div directly inside a dl and forward its props and ref to retain valid description-list grouping.
</ParamField>

<ParamField body="startIcon" type="ReactNode">
  Decorative node before the label. The caller controls icon dimensions.
</ParamField>

<ParamField body="style" type="CSSProperties">
  Inline styles applied to the row root.
</ParamField>