@engie-group/fluid-design-system-react
Version:
Fluid Design System React
16 lines (15 loc) • 690 B
TypeScript
import React, { ComponentPropsWithoutRef } from 'react';
export type NJChatInputFileCardProps = ComponentPropsWithoutRef<'button'> & {
fileName?: string;
fileType?: string;
thumbnail?: React.ReactNode;
onDelete?: React.MouseEventHandler<HTMLButtonElement>;
isLoading?: boolean;
};
export declare const NJChatInputFileCard: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
fileName?: string;
fileType?: string;
thumbnail?: React.ReactNode;
onDelete?: React.MouseEventHandler<HTMLButtonElement>;
isLoading?: boolean;
} & React.RefAttributes<HTMLButtonElement>>;