@data-cafe/datagrid
Version:
A very generic datagrid component for data-café applications
27 lines (26 loc) • 554 B
TypeScript
import { ClrLoadingState } from '@clr/angular';
/**
* Action description.
*/
export interface Action {
/**
* The button text.
*/
label: string;
/**
* The button icon shape of Clarity Icon.
*/
icon?: string;
/**
* The button state.
* @see ClrButton
* @see ClrLoadingState
*/
loading?: ClrLoadingState;
/**
* Callback function to execute when the action is clicked.
*
* @param $event The click event (mouse or keyboard)
*/
callback: ($event: UIEvent) => void;
}