@animech-public/chonky
Version:
A File Browser component for React
9 lines (8 loc) • 330 B
TypeScript
import { Nullable } from 'tsdef';
import { ChonkyIconName } from '../types/icons.types';
export declare const useFileActionTrigger: (fileActionId: string) => () => any;
export declare const useFileActionProps: (fileActionId: string) => {
icon: Nullable<ChonkyIconName | string>;
active: boolean;
disabled: boolean;
};