chore: update card type (#2863)

pull/2860/head^2
zkwolf 2020-09-18 22:52:54 +08:00 committed by GitHub
parent 675dff92c1
commit 490aacb7dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

4
types/card.d.ts vendored
View File

@ -13,12 +13,12 @@ export declare class Card extends AntdComponent {
static Meta: typeof Meta; static Meta: typeof Meta;
$props: AntdProps & { $props: AntdProps & {
tabBarExtraContent: any; tabBarExtraContent?: any;
/** /**
* The action list, shows at the bottom of the Card. * The action list, shows at the bottom of the Card.
* @type any (slots) * @type any (slots)
*/ */
actions: VNodeChild | JSX.Element; actions?: VNodeChild | JSX.Element;
/** /**
* Current TabPane's key * Current TabPane's key