@linzjs/step-ag-grid
Version:
[](https://github.com/semantic-release/semantic-release) > Reusable [ag-grid](https://www.ag-grid.com/) component for LINZ / Toitū te whenua.
10 lines (9 loc) • 329 B
TypeScript
import { PropsWithChildren, ReactElement } from 'react';
/**
* If loading is true this returns a loading spinner, otherwise it returns its children.
*/
export declare const ComponentLoadingWrapper: (props: PropsWithChildren<{
loading?: boolean;
saving?: boolean;
className: string | undefined;
}>) => ReactElement;