Fixed #1836 - For ColumnGroup

pull/1846/head
mertsincan 2021-12-01 16:19:54 +03:00
parent 248b052c5d
commit 36d0702040
1 changed files with 30 additions and 4 deletions

View File

@ -1,9 +1,35 @@
interface ColumnGroupProps {
type?: string;
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
type ColumnGroupType = 'header' | 'footer';
export interface ColumnGroupProps {
/**
* Type of column group
*/
type?: ColumnGroupType;
}
declare class ColumnGroup {
$props: ColumnGroupProps;
export interface ColumnGroupSlots {
}
export declare type ColumnGroupEmits = {
}
declare class ColumnGroup extends ClassComponent<ColumnGroupProps, ColumnGroupSlots, ColumnGroupEmits> { }
declare module '@vue/runtime-core' {
interface GlobalComponents {
ColumnGroup: GlobalComponentConstructor<ColumnGroup>
}
}
/**
*
* ColumnGroup is a helper component to create grouped header and footer on DataTable.
*
* Demos:
*
* - [ColumnGroup](https://www.primefaces.org/primevue/showcase/#/datatable/colgroup)
*
*/
export default ColumnGroup;