Skip to content

The open alternative to Salesforce, designed for AI.

1.7 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="color" type="&quot;light&quot; | &quot;primary&quot; | &quot;secondary&quot; | &quot;tertiary&quot;">
  Semantic text color. Omitted values inherit; native style supports runtime colors.
</ParamField>

<ParamField body="lineClamp" type="number">
  Positive integer limiting the number of visible lines. Cannot be combined with `truncate`.
</ParamField>

<ParamField body="render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, {}&gt;">
  Replaces the default div. Native props and the ref target the rendered text element.
</ParamField>

<ParamField body="size" type="&quot;lg&quot; | &quot;md&quot; | &quot;sm&quot; | &quot;xl&quot; | &quot;xs&quot; | &quot;xxl&quot; | &quot;xxs&quot;">
  Font size from the theme scale. Omitted values inherit; this does not set height.
</ParamField>

<ParamField body="truncate" type="boolean">
  Truncates one line with an ellipsis. Cannot be combined with `lineClamp`.
</ParamField>

<ParamField body="weight" type="&quot;medium&quot; | &quot;regular&quot; | &quot;semibold&quot;">
  Theme font weight. Omitted values inherit.
</ParamField>