primevue-mirror/components/columngroup/ColumnGroup.d.ts

35 lines
785 B
TypeScript
Raw Normal View History

2023-02-28 08:29:30 +00:00
/**
* @module columngroup
*/
2022-09-06 12:03:37 +00:00
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export interface ColumnGroupProps {
/**
* Type of column group
*/
2023-02-28 08:29:30 +00:00
type?: 'header' | 'footer' | undefined;
2022-09-06 12:03:37 +00:00
}
2022-09-14 11:26:01 +00:00
export interface ColumnGroupSlots {}
2022-09-06 12:03:37 +00:00
2022-09-14 11:26:01 +00:00
export declare type ColumnGroupEmits = {};
2022-09-06 12:03:37 +00:00
2022-09-14 11:26:01 +00:00
declare class ColumnGroup extends ClassComponent<ColumnGroupProps, ColumnGroupSlots, ColumnGroupEmits> {}
2022-09-06 12:03:37 +00:00
declare module '@vue/runtime-core' {
interface GlobalComponents {
2022-09-14 11:26:01 +00:00
ColumnGroup: GlobalComponentConstructor<ColumnGroup>;
2022-09-06 12:03:37 +00:00
}
}
/**
*
* ColumnGroup is a helper component to create grouped header and footer on DataTable.
*
* Demos:
*
2022-09-14 11:26:01 +00:00
* - [ColumnGroup](https://www.primefaces.org/primevue/datatable/colgroup)
2022-09-06 12:03:37 +00:00
*
*/
export default ColumnGroup;