@try-at-software/input-elements
Version:
A package providing different input elements that are extensible and easily configurable for your custom needs.
24 lines (23 loc) • 1.09 kB
TypeScript
import * as React from 'react';
import { IChangingPresentation } from '../../Presentations';
import { IDynamicInputListProps } from '../DynamicInputsList';
import { IInputInformation } from '../DynamicListInputElement';
interface IDynamicListInputElementWrapperState<TValue> {
isLoading: boolean;
isVisible: boolean;
inputElements: IInputInformation<TValue>[];
}
export interface ICommonInputBehaviorConfiguration {
loadingComponent?: React.ComponentType;
}
export declare class DynamicListInputElementWrapper<TValue> extends React.Component<IDynamicInputListProps<TValue> & ICommonInputBehaviorConfiguration, IDynamicListInputElementWrapperState<TValue>> implements IChangingPresentation<IInputInformation<TValue>[]> {
constructor(props: IDynamicInputListProps<TValue> & ICommonInputBehaviorConfiguration);
startLoading: () => void;
stopLoading: () => void;
hide: () => void;
show: () => void;
update: (newValue: IInputInformation<TValue>[]) => void;
render: () => JSX.Element;
private renderInternalContent;
}
export {};