Files
video-gen/video-gen-admin/node_modules/@rc-component/trigger/lib/hooks/useAction.d.ts
T
2026-05-25 17:08:18 +08:00

6 lines
353 B
TypeScript

import type { ActionType } from '../interface';
type InternalActionType = ActionType | 'touch';
type ActionTypes = InternalActionType | InternalActionType[];
export default function useAction(action: ActionTypes, showAction?: ActionTypes, hideAction?: ActionTypes): [showAction: Set<InternalActionType>, hideAction: Set<InternalActionType>];
export {};