UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

32 lines (31 loc) 889 B
import React, { CSSProperties } from "react"; import { ListMoreDisplayProps } from "./ListMoreDisplay"; import { AuditLineDto } from "@etsoo/appscript"; import { Theme } from "@mui/material/styles"; /** * Audit display props */ export interface AuditDisplayProps extends Omit<ListMoreDisplayProps<AuditLineDto>, "children"> { /** * Get list item style callback */ getItemStyle?: (index: number, theme: Theme) => CSSProperties; /** * Get column label */ getColumnLabel?: (field: string) => string; /** * Equal check */ equalCheck?: boolean; /** * Item/line renderer */ itemRenderer?: (data: AuditLineDto, index: number) => React.ReactNode; } /** * Audit display * @param props Props * @returns Component */ export declare function AuditDisplay(props: AuditDisplayProps): import("react/jsx-runtime").JSX.Element;