Skip to content

The open alternative to Salesforce, designed for AI.

1.5 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="children" type="string" required>
  Text naming the separator. Supplied and localized by the caller.
</ParamField>

<ParamField body="hasStartMarker" type="boolean" default="false">
  Show a decorative cap at the beginning of the rule.
</ParamField>

<ParamField body="labelPosition" type="&quot;center&quot; | &quot;end&quot;" default="center">
  Place the label between two lines or at the end of one line.
</ParamField>

<ParamField body="render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, {}&gt;">
  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="tone" type="&quot;danger&quot; | &quot;neutral&quot;" default="neutral">
  Neutral divider or red marker with a thicker rule.
</ParamField>