stream-chat-react
Version:
React components to create chat conversations or livestream style chat
14 lines (13 loc) • 464 B
TypeScript
import React from 'react';
import type { IconType } from './iconMap';
export type FileIconProps = {
big?: boolean;
className?: string;
filename?: string;
mimeType?: string;
size?: number;
sizeSmall?: number;
type?: IconType;
};
export declare function mimeTypeToIcon(type?: IconType, mimeType?: string): React.ComponentType<import("./FileIconSet").IconProps>;
export declare const FileIcon: (props: FileIconProps) => React.JSX.Element;