11 lines
349 B
TypeScript
11 lines
349 B
TypeScript
import { GridControlledStateReasonLookup } from '../events/gridEventLookup';
|
|
/**
|
|
* Additional details passed to the callbacks
|
|
*/
|
|
export interface GridCallbackDetails<K extends keyof GridControlledStateReasonLookup = any> {
|
|
/**
|
|
* The reason for this callback to have been called.
|
|
*/
|
|
reason?: GridControlledStateReasonLookup[K];
|
|
}
|