From 490aacb7dc0bd851ed4fcd9c940ecb2bbbcbe0a7 Mon Sep 17 00:00:00 2001 From: zkwolf Date: Fri, 18 Sep 2020 22:52:54 +0800 Subject: [PATCH] chore: update card type (#2863) --- types/card.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/card.d.ts b/types/card.d.ts index 4896f72a0..455925d8e 100644 --- a/types/card.d.ts +++ b/types/card.d.ts @@ -13,12 +13,12 @@ export declare class Card extends AntdComponent { static Meta: typeof Meta; $props: AntdProps & { - tabBarExtraContent: any; + tabBarExtraContent?: any; /** * The action list, shows at the bottom of the Card. * @type any (slots) */ - actions: VNodeChild | JSX.Element; + actions?: VNodeChild | JSX.Element; /** * Current TabPane's key