@arkhas/inertia-datatable
Version:
A Laravel Inertia React Datatable component
11 lines (10 loc) • 448 B
TypeScript
import React from 'react';
interface ActionColumnProps {
columnKey: string;
row: Record<string, React.ReactNode | string | number | boolean | null>;
onRowAction: (action: string, rowId: number | string, url?: string, columnKey?: string) => void;
icons?: Record<string, React.ComponentType<React.SVGProps<SVGSVGElement>>>;
t?: (key: string) => string;
}
export declare const ActionColumn: React.FC<ActionColumnProps>;
export {};