/** * Copyright (c) Paymium. * * This source code is licensed under the MIT license found in the * LICENSE file in the root of this projects source tree. */ import { TextInput, type TextInputProps } from 'react-native'; import { type ReactNode } from 'react'; import { CrossedMethods } from '@crossed/styled'; export type InputProps = Omit & { /** * Label of input */ label?: string; /** * Render clearable button if value is filled */ clearable?: boolean; elementLeft?: ReactNode; elementRight?: ReactNode; /** * Error to render */ error?: string; /** * Description of input */ description?: string; /** * Extra of label */ extra?: string; /** * Disabled state */ disabled?: boolean; /** * style to extends */ style?: CrossedMethods; /** * formField style to extends */ formFieldStyle?: CrossedMethods; }; export declare const Input: import("react").ForwardRefExoticComponent & { /** * Label of input */ label?: string; /** * Render clearable button if value is filled */ clearable?: boolean; elementLeft?: ReactNode; elementRight?: ReactNode; /** * Error to render */ error?: string; /** * Description of input */ description?: string; /** * Extra of label */ extra?: string; /** * Disabled state */ disabled?: boolean; /** * style to extends */ style?: CrossedMethods; /** * formField style to extends */ formFieldStyle?: CrossedMethods; } & import("react").RefAttributes>; //# sourceMappingURL=Input.d.ts.map