projex-ui-dev
Version:
Projex' user interface
14 lines (13 loc) • 542 B
TypeScript
import React from 'react';
import { FormItemProps } from '../FormItem/FormItem';
type Props = Omit<FormItemProps, 'children'> & {
name?: string;
type?: 'text' | 'tel' | 'email' | 'search';
onIconClick?: React.MouseEventHandler<HTMLButtonElement>;
placeholder?: string;
large?: boolean;
value: string | number;
setValue: (value: string | number) => void;
};
declare const Input: ({ label, disabled, name, type, onIconClick, placeholder, large, value, setValue, }: Props) => React.JSX.Element;
export default Input;