goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
18 lines • 721 B
TypeScript
import { ColumnDef } from '../types';
interface AddCardProps {
columns: ColumnDef[];
creationRowData: Record<string, unknown>;
creationRowErrors: Record<string, string>;
onCreationFieldChange: (field: string, value: unknown) => void;
onSave: () => void | Promise<void>;
onCancel: () => void;
styles?: {
theme?: 'light' | 'dark' | 'sacred';
backgroundColor?: string;
borderColor?: string;
borderRadius?: string;
};
}
declare function AddCard({ columns, creationRowData, creationRowErrors, onCreationFieldChange, onSave, onCancel, styles, }: AddCardProps): import("react/jsx-runtime").JSX.Element;
export default AddCard;
//# sourceMappingURL=AddCard.d.ts.map