Refactor #3924 - For ColumnGroup & Row

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-10 14:39:25 +03:00
parent 05cb0588da
commit a52acf2a32
9 changed files with 159 additions and 6 deletions

View file

@ -5,8 +5,37 @@
*
* @module row
*/
import { ColumnGroupPassThroughOptions } from '../columngroup';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type RowPassThroughOptionType = RowPassThroughAttributes | ((options: RowPassThroughMethodOptions) => RowPassThroughAttributes) | null | undefined;
/**
* Custom passthrough(pt) option method.
*/
export interface RowPassThroughMethodOptions {
props: RowProps;
parent: ColumnGroupPassThroughOptions;
}
/**
* Custom passthrough(pt) options.
* @see {@link RowProps.pt}
*/
export interface RowPassThroughOptions {
/**
* Uses to pass attributes to the root's DOM element.
*/
root?: RowPassThroughOptionType;
}
/**
* Custom passthrough attributes for each DOM elements
*/
export interface RowPassThroughAttributes {
[key: string]: any;
}
/**
* Defines valid properties in Row component.
*/

View file

@ -1,6 +1,9 @@
<script>
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'Row',
extends: BaseComponent,
render() {
return null;
}