34 lines
795 B
TypeScript
Executable File
34 lines
795 B
TypeScript
Executable File
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
|
|
type ColumnGroupType = 'header' | 'footer' | undefined;
|
|
|
|
export interface ColumnGroupProps {
|
|
/**
|
|
* Type of column group
|
|
*/
|
|
type?: ColumnGroupType;
|
|
}
|
|
|
|
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/datatable/colgroup)
|
|
*
|
|
*/
|
|
export default ColumnGroup;
|