minishouyin/node_modules/@rc-component/trigger/lib/hooks/useAction.d.ts

5 lines
290 B
TypeScript
Raw Permalink Normal View History

2025-11-12 11:35:57 +08:00
import type { ActionType } from '../interface';
type ActionTypes = ActionType | ActionType[];
export default function useAction(mobile: boolean, action: ActionTypes, showAction?: ActionTypes, hideAction?: ActionTypes): [showAction: Set<ActionType>, hideAction: Set<ActionType>];
export {};