UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

14 lines (13 loc) 570 B
import { FileWithFeedback } from '../InputFile/InputFile'; import { InputFileTranslations } from '../InputFile/InputFile.utils'; import { JSX } from 'react'; interface FileListProps { files: FileWithFeedback[]; onRemoveFile: (index: number) => void; t: (key: keyof InputFileTranslations, replacements?: string[]) => string; fileListItemRemoveButtonProps?: { [key: `data-${string}`]: string | undefined; }; } export declare const FileList: ({ files, onRemoveFile, fileListItemRemoveButtonProps, t, }: FileListProps) => JSX.Element; export {};