UNPKG

@cds/core

Version:

Clarity Design System - common components, themes, and utilties

32 lines (31 loc) 629 B
export interface DemoData { grid: DemoGrid; } export interface DemoGrid { label: string; rowActions: [{ label: string; value: string; }, { label: string; value: string; }]; columns: DemoGridColumn[]; rows: DemoGridRow[]; } export interface DemoGridRow { id: string; selected?: boolean; cells: DemoGridCell[]; } export interface DemoGridCell { value: string | number; label?: string; selected?: boolean; } export interface DemoGridColumn { id: number; label: string; suffix?: string; sort?: 'none' | 'ascending' | 'descending'; }