@ssplib/react-components
Version:
SSP React Components
20 lines (19 loc) • 708 B
TypeScript
import React from 'react';
export declare function Input({ type, numberMask, xs, sm, inputMinLength, inputMaxLength, defaultValue, md, disabled, watchValue, ...props }: {
type: 'cnpj' | 'cpf' | 'input' | 'email' | 'cpf_cnpj' | 'phone' | 'input' | 'number' | 'rg' | 'password' | 'cep' | 'sei';
name: string;
watchValue?: string;
title?: string;
required?: boolean;
numberMask?: string;
customPlaceholder?: string;
defaultValue?: string;
inputMinLength?: number;
inputMaxLength?: number;
xs?: number;
sm?: number;
md?: number;
disabled?: boolean;
}): JSX.Element;
declare const _default: React.MemoExoticComponent<typeof Input>;
export default _default;