diff --git a/src/components/PlaceholderContainer/PlaceholderContainer.tsx b/src/components/PlaceholderContainer/PlaceholderContainer.tsx index 7ff190f24c..2c7fab8bdc 100644 --- a/src/components/PlaceholderContainer/PlaceholderContainer.tsx +++ b/src/components/PlaceholderContainer/PlaceholderContainer.tsx @@ -38,6 +38,7 @@ export const PlaceholderContainer = ({ image, content, actions, + qa, }: PlaceholderContainerProps) => { const renderTitle = () => { if (!title) { @@ -97,7 +98,7 @@ export const PlaceholderContainer = ({ }; return ( -
+
{renderImage()}
{renderContent()} diff --git a/src/components/PlaceholderContainer/types.ts b/src/components/PlaceholderContainer/types.ts index db0b4c691c..732b4b090d 100644 --- a/src/components/PlaceholderContainer/types.ts +++ b/src/components/PlaceholderContainer/types.ts @@ -1,6 +1,7 @@ import type React from 'react'; import type {ButtonProps} from '../Button'; +import type {QAProps} from '../types'; type Size = 's' | 'm' | 'l' | 'promo'; @@ -18,7 +19,7 @@ export type PlaceholderContainerActionProps = Pick< text: string; }; -export interface PlaceholderContainerProps { +export interface PlaceholderContainerProps extends QAProps { size?: Size; direction?: 'row' | 'column'; align?: 'left' | 'center';