36 lines
807 B
TypeScript
Executable File
36 lines
807 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/showcase/#/datatable/colgroup)
|
|
*
|
|
*/
|
|
export default ColumnGroup;
|