UNPKG

@papernote/ui

Version:

A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive

24 lines 974 B
import { ReactNode } from 'react'; export interface CardViewItem { id: string | number; title: string; subtitle?: string; content: ReactNode; footer?: ReactNode; actions?: ReactNode; className?: string; } interface CardViewProps { items: CardViewItem[]; loading?: boolean; emptyState?: ReactNode; loadingRows?: number; className?: string; cardClassName?: string; } /** * Generic card view component for displaying data in card format */ export declare function CardView({ items, loading, emptyState, loadingRows, className, cardClassName }: CardViewProps): string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null; export {}; //# sourceMappingURL=CardView.d.ts.map