Skip to main content

InterfaceTableLoaderProps

Admin Docs


Interface: InterfaceTableLoaderProps

Defined in: src/types/shared-components/TableLoader/interface.ts:8

Props for the TableLoader component. @property noOfRows - The number of rows to render in the table body. @property headerTitles - An array of strings representing the titles for the table headers. @property noOfCols - The number of columns to render if headerTitles is not provided. @property data-testid - A custom data-testid attribute for testing purposes.

Properties

data-testid?

optional data-testid: string

Defined in: src/types/shared-components/TableLoader/interface.ts:12


headerTitles?

optional headerTitles: string[]

Defined in: src/types/shared-components/TableLoader/interface.ts:10


noOfCols?

optional noOfCols: number

Defined in: src/types/shared-components/TableLoader/interface.ts:11


noOfRows

noOfRows: number

Defined in: src/types/shared-components/TableLoader/interface.ts:9