@data-cafe/datagrid
Version:
A very generic datagrid component for data-café applications
38 lines (37 loc) • 677 B
TypeScript
/**
* Text wrapper to customise the page
*/
export interface TextsInput {
/**
* Title H1 of the page
*/
h1?: string;
/**
* Title H2 of the page
*/
h2?: string;
/**
* Title H4 of the page
*/
h3?: string;
/**
* Top text of the page
*/
top?: string;
/**
* Datagrid placeholder
*/
placeholder?: string;
/**
* Fallback label in datagrid if a cell miss a value.
*/
fallbackLabel?: string;
/**
* Datagrid item count in footer (pagination part).
*/
counter?: (count?: number) => string;
/**
* Bottom text of the page
*/
bottom?: string;
}