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="color" type="&quot;amber&quot; | &quot;blue&quot; | &quot;bronze&quot; | &quot;brown&quot; | &quot;crimson&quot; | &quot;cyan&quot; | &quot;gold&quot; | &quot;grass&quot; | &quot;gray&quot; | &quot;green&quot; | &quot;iris&quot; | &quot;jade&quot; | &quot;lime&quot; | &quot;mint&quot; | &quot;orange&quot; | &quot;pink&quot; | &quot;plum&quot; | &quot;purple&quot; | &quot;red&quot; | &quot;ruby&quot; | &quot;sky&quot; | &quot;tomato&quot; | &quot;turquoise&quot; | &quot;violet&quot; | &quot;yellow&quot;" required>
  Theme color used for the status background, text, and loader.
</ParamField>

<ParamField body="loading" type="boolean" default="false">
  Shows a decorative loader after the label and defaults aria-busy to true. The caller owns announcements and disabled interaction.
</ParamField>

<ParamField body="onClick" type="MouseEventHandler&lt;HTMLSpanElement&gt;">
  Native click handler. Does not change the default span or add keyboard activation.
</ParamField>

<ParamField body="render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, StatusState&gt;">
  Replaces the default span. Compose a button or link to provide explicit interaction semantics.
</ParamField>

<ParamField body="weight" type="&quot;medium&quot; | &quot;regular&quot;" default="regular">
  Font weight of the label.
</ParamField>