import { jsx as _jsx } from "react/jsx-runtime";
export function UploadFileItemErrorDetails(props) {
    const { status, errorDetails } = props;
    if (!((status === "failed" || status === "unsupported-document-type") &&
        errorDetails))
        return null;
    return (_jsx("div", { className: "break-words text-xs leading-[18px] text-gray-500", children: errorDetails }));
}
//# sourceMappingURL=error-details.js.map