@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
42 lines (41 loc) • 1.47 kB
TypeScript
import '@ui5/webcomponents/dist/TableRow.js';
import type { ReactNode } from 'react';
import type { CommonProps, Ui5DomRef } from '../../types/index.js';
interface TableRowAttributes {
/**
* Defines the interactive state of the row.
* @default false
*/
interactive?: boolean;
/**
* Defines the navigated state of the row.
* @default false
*/
navigated?: boolean;
/**
* Unique identifier of the row.
*/
rowKey?: string;
}
interface TableRowDomRef extends Required<TableRowAttributes>, Ui5DomRef {
}
interface TableRowPropTypes extends TableRowAttributes, Omit<CommonProps, keyof TableRowAttributes | 'children'> {
/**
* Defines the cells of the component.
*
* **Note:** Use `TableCell` for the intended design.
*/
children?: ReactNode | ReactNode[];
}
/**
* The `TableRow` component represents a row in the `Table`.
*
*
*
* __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/)
*
* @since [2.0.0](https://github.com/SAP/ui5-webcomponents/releases/tag/v2.0.0) of __@ui5/webcomponents__.
*/
declare const TableRow: import("react").ForwardRefExoticComponent<TableRowPropTypes & import("../../internal/withWebComponent.js").WithWebComponentPropTypes & import("react").RefAttributes<TableRowDomRef>>;
export { TableRow };
export type { TableRowDomRef, TableRowPropTypes };