UNPKG

seti-ramesesv1

Version:

Reusable components and context for Next.js apps

26 lines 1.11 kB
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; }; declare const Text: ({ label, name, value, defaultValue, onChange, placeholder, disabled, variant, helperText, error, multiline, rows, size, fullWidth, textTransform, startIcon, endIcon, onStartIconClick, onEndIconClick, ...rest }: TextProps) => import("react/jsx-runtime").JSX.Element; export default Text; //# sourceMappingURL=Text.d.ts.map