Interface representing the properties of an action trigger component.

interface IActionTriggerProps<T extends any = object> {
    actions: IActionTrigger<any>[];
    deps?: any[];
    disabled?: boolean;
    fallback?: (e: Error) => void;
    loading?: boolean;
    onAction?: (action: string) => void | Promise<void>;
    onLoadEnd?: (isOk: boolean) => void;
    onLoadStart?: () => void;
    payload?: T;
    reloadSubject?: TSubject<void>;
    size?: any;
    throwError?: boolean;
    variant?: any;
    [key: string]: BoxProps;
    [key: number]: BoxProps;
    [key: symbol]: BoxProps;
}

Type Parameters

  • T extends any = object

    The type of data being passed to the component, defaults to object.

Hierarchy

  • Omit<IAsyncProps<T>, keyof { children: never; Error: never; Loader: never }>
  • Omit<dayjs, keyof { children: never; onChange: never; onLoadStart: never }>
    • IActionTriggerProps

Indexable

  • [key: string]: BoxProps
  • [key: number]: BoxProps
  • [key: symbol]: BoxProps

Properties

actions: IActionTrigger<any>[]
deps?: any[]
disabled?: boolean
fallback?: (e: Error) => void
loading?: boolean
onAction?: (action: string) => void | Promise<void>
onLoadEnd?: (isOk: boolean) => void
onLoadStart?: () => void
payload?: T
reloadSubject?: TSubject<void>
size?: any
throwError?: boolean
variant?: any