RocketChat/Rocket.Chat

View on GitHub
packages/ui-kit/src/blocks/Actionable.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { ConfirmationDialog } from './ConfirmationDialog';
import type { InputElementDispatchAction } from './InputElementDispatchAction';

export type Actionable<Block> = Block & {
    appId: string;
    blockId: string;
    actionId: string;
    confirm?: ConfirmationDialog;
    dispatchActionConfig?: InputElementDispatchAction[];
};