diff --git a/src/components/FilePreview/FilePreview.tsx b/src/components/FilePreview/FilePreview.tsx index f3f8e83b..ee31103b 100644 --- a/src/components/FilePreview/FilePreview.tsx +++ b/src/components/FilePreview/FilePreview.tsx @@ -11,7 +11,15 @@ import { TextAlignLeft as TextIcon, Filmstrip as VideoIcon, } from '@gravity-ui/icons'; -import {Icon, IconData, Text, useActionHandlers, useMobile, useUniqId} from '@gravity-ui/uikit'; +import { + Icon, + IconData, + QAProps, + Text, + useActionHandlers, + useMobile, + useUniqId, +} from '@gravity-ui/uikit'; import {block} from '../utils/cn'; @@ -36,9 +44,8 @@ const FILE_ICON: Record = { table: TableIcon, }; -export interface FilePreviewProps { +export interface FilePreviewProps extends QAProps { className?: string; - qa?: string; file: File; imageSrc?: string; diff --git a/src/components/Notification/NotificationAction.tsx b/src/components/Notification/NotificationAction.tsx index d67723f0..f28f5781 100644 --- a/src/components/Notification/NotificationAction.tsx +++ b/src/components/Notification/NotificationAction.tsx @@ -18,6 +18,7 @@ export const NotificationAction = React.memo(function NotificationAction({action const button = (