UNPKG

core-cde

Version:

18 lines (17 loc) 721 B
import { ICheckedProps, IListProps } from '../interfaces/IListProps'; import { Action } from './Action'; export declare enum EListActions { incrementLevel = "incrementLevel", deIncrementLevel = "deIncrementLevel", checked = "checked" } export declare class IncrementLevelAction extends Action<IListProps> { readonly type = EListActions.incrementLevel; } export declare class DeIncrementLevelAction extends Action<IListProps> { readonly type = EListActions.deIncrementLevel; } export declare class CheckedAction extends Action<ICheckedProps> { readonly type = EListActions.checked; } export declare type ListActions = IncrementLevelAction | DeIncrementLevelAction | CheckedAction;