easemob-chat-uikit
Version:
   ![GitHub last c
22 lines (21 loc) • 594 B
TypeScript
import React, { ReactNode } from 'react';
export interface GiftProps {
prefix?: string;
className?: string;
style?: React.CSSProperties;
image?: ReactNode | string;
title?: string;
titleIcon?: ReactNode;
subTitle?: string | number;
subTitleIcon?: ReactNode;
selected?: boolean;
action?: {
visible: boolean;
text: string;
onClick?: () => void;
};
giftId: string | number;
onClick?: (giftId: string | number) => void;
}
declare const Gift: (props: GiftProps) => import("react/jsx-runtime").JSX.Element;
export { Gift };