Fixed #1836 - For Card

pull/1846/head
mertsincan 2021-12-01 15:30:06 +03:00
parent b8ba7e0008
commit 14753c1c64
1 changed files with 43 additions and 9 deletions

View File

@ -1,16 +1,50 @@
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
interface CardProps {} export interface CardProps {
}
declare class Card { export interface CardSlots {
$props: CardProps; /**
$slots: { * Custom header template.
header: VNode[]; */
title: VNode[]; header: () => VNode[];
subtitle: VNode[]; /**
content: VNode[]; * Custom title template.
footer: VNode[]; */
title: () => VNode[];
/**
* Custom subtitle template.
*/
subtitle: () => VNode[];
/**
* Custom content template.
*/
content: () => VNode[];
/**
* Custom footer template.
*/
footer: () => VNode[];
}
export declare type CardEmits = {
}
declare class Card extends ClassComponent<CardProps, CardSlots, CardEmits> { }
declare module '@vue/runtime-core' {
interface GlobalComponents {
Card: GlobalComponentConstructor<Card>
} }
} }
/**
*
* Card is a flexible container component.
*
* Demos:
*
* - [Card](https://www.primefaces.org/primevue/showcase/#/card)
*
*/
export default Card; export default Card;