UNPKG

@try-at-software/input-elements

Version:

A package providing different input elements that are extensible and easily configurable for your custom needs.

17 lines (16 loc) 472 B
import { FormText } from '../Components'; export interface IPresentation { startLoading(): void; stopLoading(): void; hide(): void; show(): void; } export interface IChangingPresentation<TValue> { update(newValue: TValue): void; } export interface IRestrictedPresentation { setError(errorMessage: FormText): void; } export interface IDynamicPresentation<TDynamicProps> { changeDynamicProps(dynamicProps: TDynamicProps): void; }