@payfit/unity-components
Version:
11 lines (10 loc) • 604 B
TypeScript
import { ComponentPropsWithoutRef } from 'react';
/** Props for the attachment metadata or status text. */
export type AttachmentDescriptionProps = Omit<ComponentPropsWithoutRef<'span'>, 'className' | 'style'>;
/**
* Provides supporting file metadata or status beneath the attachment title.
*
* Place it inside `AttachmentContent`. For errors, describe the problem in
* text; the error color alone does not communicate the failure.
*/
export declare const AttachmentDescription: import('react').ForwardRefExoticComponent<AttachmentDescriptionProps & import('react').RefAttributes<HTMLSpanElement>>;