UNPKG

chonky

Version:

A File Browser component for React

9 lines (8 loc) 697 B
import { Nilable } from 'tsdef'; import { FileAction } from '../../types/action.types'; import { ChonkyThunk } from '../../types/redux.types'; export declare const thunkUpdateRawFileActions: (rawFileActions: FileAction[] | any, disableDefaultFileActions: Nilable<boolean | string[]>) => ChonkyThunk; export declare const thunkUpdateToolbarNContextMenuItems: (fileActions: FileAction[]) => ChonkyThunk; export declare const thunkUpdateDefaultFileViewActionId: (fileActionId: Nilable<string>) => ChonkyThunk; export declare const thunkActivateSortAction: (fileActionId: Nilable<string>) => ChonkyThunk; export declare const thunkApplySelectionTransform: (action: FileAction) => ChonkyThunk;