Commit 346ec1f Maja Grubic
committed
1 parent 71b8fc7 commit 346ec1f Copy full SHA for 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 Original file line number Diff line number Diff line change 9
9
import { EuiCardProps } from '@elastic/eui' ;
10
10
import { MouseEventHandler , ReactNode } from 'react' ;
11
11
12
- export type NoDataCardProps = Partial < EuiCardProps > & {
12
+ export type NoDataCardProps = Partial < Omit < EuiCardProps , 'layout' > > & {
13
13
/**
14
14
* Applies the `Recommended` beta badge and makes the button `fill`
15
15
*/
@@ -26,9 +26,4 @@ export type NoDataCardProps = Partial<EuiCardProps> & {
26
26
* Description for the card. If not provided, the default will be used.
27
27
*/
28
28
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' ;
34
29
} ;
You can’t perform that action at this time.
0 commit comments