-
Notifications
You must be signed in to change notification settings - Fork 113
Expand file tree
/
Copy pathindex.tsx
More file actions
46 lines (38 loc) · 1.8 KB
/
index.tsx
File metadata and controls
46 lines (38 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
'use client';
import '@ui5/webcomponents-compat/dist/TableGroupRow.js';
import { getCompatCustomElementsScopingSuffix } from '@ui5/webcomponents-compat/dist/utils/CompatCustomElementsScope.js';
import type { CommonProps, Ui5DomRef } from '@ui5/webcomponents-react-base';
import { withWebComponent } from '@ui5/webcomponents-react-base/withWebComponent';
import type { ReactNode } from 'react';
const compatScopingSuffix = getCompatCustomElementsScopingSuffix();
const tagSuffix = compatScopingSuffix ? `-${compatScopingSuffix}` : '';
interface TableGroupRowAttributes {}
interface TableGroupRowDomRef extends Required<TableGroupRowAttributes>, Ui5DomRef {}
interface TableGroupRowPropTypes extends TableGroupRowAttributes, Omit<CommonProps, 'children'> {
/**
* Defines the text of the component.
*
* **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
*
* __Supported Node Type/s:__ `Array<Node>`
*/
children?: ReactNode | ReactNode[];
}
/**
* The `TableGroupRow` component represents a group row in the `Table`.
*
* __Note:__ This is a UI5 Web Component! [TableGroupRow UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/compat/TableGroupRow) | [Repository](https://github.com/UI5/webcomponents)
*
* @since [2.0.0](https://github.com/UI5/webcomponents/releases/tag/v2.0.0) of __@ui5/webcomponents-compat__.
* @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.
*/
const TableGroupRow = withWebComponent<TableGroupRowPropTypes, TableGroupRowDomRef>(
`ui5-table-group-row${tagSuffix}`,
[],
[],
[],
[],
);
TableGroupRow.displayName = 'TableGroupRow';
export { TableGroupRow };
export type { TableGroupRowDomRef, TableGroupRowPropTypes };