goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
21 lines • 798 B
TypeScript
import { ColumnDef } from '../types';
interface CardFieldProps {
column: ColumnDef;
value: unknown;
row?: any;
rowId: string;
isEditing: boolean;
editingValue: string;
onCellSave?: ((rowId: string, field: string, value: string) => void) | undefined;
onCellCancel: () => void;
onEditingValueChange: (value: string) => void;
styles?: {
theme?: 'light' | 'dark' | 'sacred';
backgroundColor?: string;
borderColor?: string;
borderRadius?: string;
} | undefined;
}
declare function CardField({ column, value, row, rowId, isEditing, editingValue, onCellSave, onCellCancel, onEditingValueChange, styles, }: CardFieldProps): import("react/jsx-runtime").JSX.Element;
export default CardField;
//# sourceMappingURL=CardField.d.ts.map