UNPKG

@payfit/unity-components

Version:

11 lines (10 loc) • 613 B
import { CircularIconButtonProps } from '../../icon-button/CircularIconButton.js'; /** Props for a labelled attachment action. */ export type AttachmentActionProps = Omit<CircularIconButtonProps, 'asElement' | 'className' | 'size'>; /** * Provides a secondary file action, such as remove or retry. * * Place it inside `AttachmentActions` and supply an `icon`, a descriptive * `title`, and an `onPress` handler. The title names the icon-only button. */ export declare const AttachmentAction: import('react').ForwardRefExoticComponent<AttachmentActionProps & import('react').RefAttributes<HTMLButtonElement>>;