@unicity/design-system
Version:
A comprehensive React component library built on Material-UI with advanced theming capabilities including neumorphism design support
34 lines • 855 B
TypeScript
import React from 'react';
import { TextFieldProps as MuiTextFieldProps } from '@mui/material';
export interface TextFieldProps extends Omit<MuiTextFieldProps, 'variant'> {
/**
* The variant of the text field
*/
variant?: 'outlined' | 'filled' | 'standard';
/**
* Whether the field is required
*/
required?: boolean;
/**
* Helper text to display below the input
*/
helperText?: string;
/**
* Whether the field has an error
*/
error?: boolean;
/**
* The size of the text field
*/
size?: 'small' | 'medium';
/**
* Whether the field takes full width
*/
fullWidth?: boolean;
/**
* Whether the field is disabled
*/
disabled?: boolean;
}
export declare const TextField: React.FC<TextFieldProps>;
//# sourceMappingURL=TextField.d.ts.map