CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-emoji-picker-react

tessl install tessl/npm-emoji-picker-react@4.13.0

Emoji Picker component for React Applications on the web

Agent Success

Agent success rate when using this tile

74%

Improvement

Agent success rate improvement when using this tile compared to baseline

1x

Baseline

Agent success rate without this tile

74%

task.mdevals/scenario-7/

Emoji Display Service

A service that displays emoji information based on Unicode identifiers.

Capabilities

Retrieve emoji by unified code

  • Given a valid unified code "1f600", the service returns the corresponding emoji data @test
  • Given an invalid unified code "invalid", the service returns undefined @test

Handle skin tone variations

  • Given a unified code with skin tone "1f44b-1f3fb", the service returns the emoji data with the skin tone variation @test

Display emoji metadata

  • The service extracts and returns the emoji character from the retrieved data @test
  • The service extracts and returns all name aliases from the retrieved data @test

Implementation

@generates

API

/**
 * Retrieves emoji data for a given unified code.
 *
 * @param unifiedCode - The Unicode identifier for the emoji (e.g., "1f600" or "1f44b-1f3fb")
 * @returns An object containing emoji metadata, or undefined if not found
 */
export function getEmojiData(unifiedCode: string): EmojiData | undefined;

/**
 * Gets the emoji character from emoji data.
 *
 * @param emojiData - The emoji data object
 * @returns The emoji character string
 */
export function getEmojiCharacter(emojiData: any): string;

/**
 * Gets all name aliases for an emoji.
 *
 * @param emojiData - The emoji data object
 * @returns An array of emoji name strings
 */
export function getEmojiNames(emojiData: any): string[];

interface EmojiData {
  emoji: string;
  names: string[];
  unified: string;
  // Additional properties may be present
}

Dependencies { .dependencies }

emoji-picker-react { .dependency }

Provides emoji data access utilities.

@satisfied-by

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/emoji-picker-react@4.13.x
tile.json