UNPKG

dynamic-modal

Version:

The dynamic-modal is a solution of creation different modals into project using a json configuration file

16 lines (12 loc) 374 B
import { HTMLInputTypeAttribute } from 'react'; import { IField, IFieldProps } from './field'; export interface IMakeInput extends IField { elementType: 'input'; placeholder?: string; min?: string; max?: string; type?: HTMLInputTypeAttribute; } export interface IMakeInputProps extends IFieldProps { element: Omit<IMakeInput, 'elementType'>; }