UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

14 lines (13 loc) 523 B
/** * Web Skeleton Figure * */ import type { HTMLProps, ReactNode } from 'react'; export type SkeletonTableRows = string | number; export type SkeletonTableChildren = string | (() => ReactNode) | ReactNode; export type SkeletonTableProps = { rows?: SkeletonTableRows; children?: SkeletonTableChildren; } & Omit<HTMLProps<HTMLDivElement>, 'rows' | 'children'>; declare function SkeletonTable({ rows, children, ...rest }: SkeletonTableProps): import("react/jsx-runtime").JSX.Element; export default SkeletonTable;