@payfit/unity-components
Version:
11 lines (10 loc) • 574 B
TypeScript
import { ComponentPropsWithoutRef } from 'react';
/** Props for the attachment text container. */
export type AttachmentContentProps = Omit<ComponentPropsWithoutRef<'div'>, 'className' | 'style'>;
/**
* Groups the text that identifies and describes a file.
*
* Place `AttachmentTitle` and an optional `AttachmentDescription` inside this
* part. Text can truncate visually when the attachment has limited space.
*/
export declare const AttachmentContent: import('react').ForwardRefExoticComponent<AttachmentContentProps & import('react').RefAttributes<HTMLDivElement>>;