UNPKG

seti-ramesesv1

Version:

Reusable components and context for Next.js apps

26 lines (25 loc) 841 B
import React from "react"; export type TextProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value"> & { label: string; name?: string; value?: string | null; defaultValue?: string; onChange?: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void; placeholder?: string; disabled?: boolean; variant?: "outlined" | "filled" | "standard"; helperText?: string; error?: boolean; mask?: string; multiline?: boolean; rows?: number; size?: "md"; fullWidth?: boolean; textTransform?: "uppercase" | "lowercase" | "capitalize" | "none"; startIcon?: React.ReactNode; endIcon?: React.ReactNode; onStartIconClick?: () => void; onEndIconClick?: () => void; }; export declare const Text: React.FC<TextProps>; export default Text;