@sendbird/uikit-react
Version:
Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.
20 lines (19 loc) • 720 B
TypeScript
import { ReactElement, ReactNode } from 'react';
import { BaseChannel, User } from '@sendbird/chat';
export interface MuteMenuItemProps {
channel: BaseChannel;
user: User & {
isMuted: boolean;
};
className?: string | Array<string>;
children: ReactElement | ReactElement[] | ReactNode;
disable?: boolean;
/**
* @deprecated Please use the testID instead
*/
dataSbId?: string;
testID?: string;
onChange?: (channel: BaseChannel, user: User, isMuted: boolean) => void;
onError?: (reason: any) => void;
}
export declare const MuteMenuItem: ({ channel, user, className, children, disable, dataSbId, testID, onChange, onError, }: MuteMenuItemProps) => ReactElement;