@payfit/unity-components
Version:
11 lines (10 loc) • 546 B
TypeScript
import { ComponentPropsWithoutRef } from 'react';
/** Props for the attachment filename. */
export type AttachmentTitleProps = Omit<ComponentPropsWithoutRef<'span'>, 'className' | 'style'>;
/**
* Identifies the attached file in its content area.
*
* Place it inside `AttachmentContent`. Long titles truncate visually but keep
* their full text in the document for assistive technology.
*/
export declare const AttachmentTitle: import('react').ForwardRefExoticComponent<AttachmentTitleProps & import('react').RefAttributes<HTMLSpanElement>>;