@sendbird/uikit-react
Version:
Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.
14 lines (13 loc) • 591 B
TypeScript
import { ReactElement } from 'react';
import './index.scss';
import { CoreMessageType } from '../../utils';
import { FeedbackRating } from '@sendbird/chat/message';
export interface MessageFeedbackModalProps {
selectedFeedback: FeedbackRating | undefined;
message: CoreMessageType;
onClose?: () => void;
onSubmit?: (selectedFeedback: FeedbackRating, comment: string) => void;
onUpdate?: (selectedFeedback: FeedbackRating, comment: string) => void;
onRemove?: () => void;
}
export default function MessageFeedbackModal(props: MessageFeedbackModalProps): ReactElement;