UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

18 lines (17 loc) 607 B
import React from 'react'; export type EmoticonItemProps = { entity: { /** Name for emoticon */ name: string; /** Native value or actual emoticon */ native: string; /** The parts of the Name property of the entity (or id if no name) that can be matched to the user input value. * Default is bold for matches, but can be overwritten in css. * */ tokenizedDisplayName: { token: string; parts: string[]; }; }; }; export declare const EmoticonItem: (props: EmoticonItemProps) => React.JSX.Element | null;