@try-at-software/input-elements
Version:
A package providing different input elements that are extensible and easily configurable for your custom needs.
18 lines (17 loc) • 686 B
TypeScript
import * as React from 'react';
import { DropResult } from 'react-beautiful-dnd';
import { IInputInformation } from './DynamicListInputElement';
import './DynamicInputsList.less';
export interface IDynamicInputListProps<TValue> {
className: string;
inputs: IInputInformation<TValue>[];
onDragEnd: (result: DropResult) => void;
renderMenu: (index: number) => JSX.Element;
renderFooterMenu: () => JSX.Element;
renderMoveGripper?: () => JSX.Element;
}
export declare class DynamicInputsList<TValue> extends React.Component<IDynamicInputListProps<TValue>> {
render(): JSX.Element;
private renderInputsList;
private renderDynamicInput;
}