UNPKG

@crossed/ui

Version:

A universal & performant styling library for React Native, Next.js & React

32 lines 1.06 kB
/** * 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 TextareaProps = Omit<TextInputProps, 'editable' | 'onChange'> & { label?: string; clearable?: boolean; elementLeft?: ReactNode; elementRight?: ReactNode; error?: string; description?: string; extra?: string; style?: CrossedMethods<any>; disabled?: boolean; }; export declare const Textarea: import("react").ForwardRefExoticComponent<Omit<TextInputProps, "onChange" | "editable"> & { label?: string; clearable?: boolean; elementLeft?: ReactNode; elementRight?: ReactNode; error?: string; description?: string; extra?: string; style?: CrossedMethods<any>; disabled?: boolean; } & import("react").RefAttributes<TextInput>>; //# sourceMappingURL=Textarea.d.ts.map