@payfit/unity-components
Version:
20 lines (19 loc) • 905 B
TypeScript
import { ReactNode } from 'react';
import { UnityIcon } from '@payfit/unity-icons';
import { TagProps } from 'react-aria-components/TagGroup';
export type AIComposerAttachmentProps = Omit<TagProps, 'children' | 'className' | 'style'> & {
children: ReactNode;
/** Icon displayed before the attachment name. */
icon: UnityIcon;
/** Maximum number of characters displayed in the attachment name. */
maxCharactersTruncation?: number;
className?: string;
};
export declare const AIComposerAttachment: import('react').ForwardRefExoticComponent<Omit<TagProps, "children" | "className" | "style"> & {
children: ReactNode;
/** Icon displayed before the attachment name. */
icon: UnityIcon;
/** Maximum number of characters displayed in the attachment name. */
maxCharactersTruncation?: number;
className?: string;
} & import('react').RefAttributes<HTMLDivElement>>;