swap-chat-react
Version:
swap-chat-react-components
10 lines (9 loc) • 415 B
TypeScript
import React from 'react';
import type { ChannelResponse } from 'web2-mq';
export declare type ChannelPreviewProps = {
Preview?: React.ComponentType<ChannelPreviewProps>;
channel: ChannelResponse;
changeActiveChannelEvent: (channel: ChannelResponse) => void;
activeChannel: ChannelResponse | null;
};
export declare const ChannelPreview: (props: ChannelPreviewProps) => JSX.Element | null;