18 lines
669 B
TypeScript
18 lines
669 B
TypeScript
import * as React from 'react';
|
|
import type { GridColType, GridSlotProps } from "../../models/index.mjs";
|
|
export interface GridSkeletonCellProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
type?: GridColType;
|
|
width?: number | string;
|
|
height?: number | 'auto';
|
|
field?: string;
|
|
align?: string;
|
|
/**
|
|
* If `true`, the cell will not display the skeleton but still reserve the cell space.
|
|
* @default false
|
|
*/
|
|
empty?: boolean;
|
|
skeletonProps?: GridSlotProps['baseSkeleton'];
|
|
}
|
|
declare function GridSkeletonCell(props: GridSkeletonCellProps): React.JSX.Element;
|
|
declare const Memoized: typeof GridSkeletonCell;
|
|
export { Memoized as GridSkeletonCell }; |