overlay
Description
Optional. Shows an overlay when the table is empty or in the loading stateUsage
overlay?: string;
Parameters
The overlay
value can be a message that should be applied as an overlay.
Example
The example below shows an overlay as a text:
const { columns, data } = getData();
export default function App() {
return (
<Grid
data={data}
columns={columns}
overlay='Loading...'
/>
);
}