stream-chat-react
Version:
React components to create chat conversations or livestream style chat
10 lines • 441 B
TypeScript
import type { LocalMessage } from 'stream-chat';
export type PinIndicatorProps = {
message?: LocalMessage;
};
/**
* Default pinned message indicator. Renders "Pinned by [name]" with pin icon above the message bubble.
* Name is taken from message.pinned_by (who pinned).
*/
export declare const PinIndicator: ({ message }: PinIndicatorProps) => import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=PinIndicator.d.ts.map