UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

19 lines 748 B
import React from 'react'; import type { FileIconSize } from './FileIconSet'; export type FileIconSizeConfigOverride = Partial<Record<FileIconSize, Partial<{ width: number; height: number; labelX: number; labelY: number; }>>>; export type FileIconProps = { className?: string; fileName?: string; mimeType?: string; /** Override dimensions/label position per size (sm, md, lg, xl). */ sizeConfig?: FileIconSizeConfigOverride; size?: FileIconSize; }; export declare function mimeTypeToIcon(mimeType?: string): React.ComponentType<import("./FileIconSet").BaseFileIconProps>; export declare const FileIcon: (props: FileIconProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=FileIcon.d.ts.map