UNPKG

core-cde

Version:

14 lines (13 loc) 513 B
import { ILinkTextProps, ILinkUrlProps } from '../interfaces/ILinkProps'; import { Action } from './Action'; export declare enum ELinkActions { changeUrl = "changeUrl", changeText = "changeText" } export declare class LinkUrlAction extends Action<ILinkUrlProps> { readonly type = ELinkActions.changeUrl; } export declare class LinkTextAction extends Action<ILinkTextProps> { readonly type = ELinkActions.changeText; } export declare type LinkActions = LinkUrlAction | LinkTextAction;