Skip to content

Commit 346ec1f

Browse files
author
Maja Grubic
committed
Fix typescripting
1 parent 71b8fc7 commit 346ec1f

File tree

1 file changed

+1
-6
lines changed
  • src/plugins/shared_ux/public/components/page_template/no_data_page/no_data_card

1 file changed

+1
-6
lines changed

src/plugins/shared_ux/public/components/page_template/no_data_page/no_data_card/types.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import { EuiCardProps } from '@elastic/eui';
1010
import { MouseEventHandler, ReactNode } from 'react';
1111

12-
export type NoDataCardProps = Partial<EuiCardProps> & {
12+
export type NoDataCardProps = Partial<Omit<EuiCardProps, 'layout'>> & {
1313
/**
1414
* Applies the `Recommended` beta badge and makes the button `fill`
1515
*/
@@ -26,9 +26,4 @@ export type NoDataCardProps = Partial<EuiCardProps> & {
2626
* Description for the card. If not provided, the default will be used.
2727
*/
2828
description?: string;
29-
/**
30-
* Layout direction of the card; needed for EuiCardPropsLayout:
31-
* https://github.com/elastic/eui/blob/main/src/components/card/card.tsx#L57
32-
*/
33-
layout?: 'vertical';
3429
};

0 commit comments

Comments
 (0)