Skip to content

The open alternative to Salesforce, designed for AI.

2.1 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="autoFocus" type="boolean" default="false">
  Focuses the search input when the picker mounts.
</ParamField>

<ParamField body="className" type="string">
  Additional class name applied to the picker root div.
</ParamField>

<ParamField body="emojibaseUrl" type="string" required>
  Base URL for caller-hosted Emojibase data. The picker loads data.json and messages.json from the selected locale directory.
</ParamField>

<ParamField body="emptyLabel" type="string" required>
  Caller-supplied message displayed when no emoji matches the search.
</ParamField>

<ParamField body="loadingLabel" type="string" required>
  Caller-supplied message displayed while emoji data loads.
</ParamField>

<ParamField body="locale" type="string" default="en">
  Emoji catalogue locale. The caller must host its data and message files. Interface labels are supplied separately.
</ParamField>

<ParamField body="onEmojiSelect" type="(emoji: string) =&gt; void" required>
  Called with the selected Unicode emoji string. The application owns the selected value, persistence, and popup visibility.
</ParamField>

<ParamField body="ref" type="Ref&lt;HTMLDivElement&gt;">
  Ref for the picker root div.
</ParamField>

<ParamField body="searchLabel" type="string" required>
  Accessible name for the search input. Also supplies its placeholder unless searchPlaceholder is set.
</ParamField>

<ParamField body="searchPlaceholder" type="string" default="searchLabel">
  Optional placeholder overriding the search label.
</ParamField>

<ParamField body="style" type="CSSProperties">
  Native inline styles applied to the picker root div.
</ParamField>