@naarni/design-system
Version:
Naarni React Native Design System for EV Fleet Apps
24 lines • 727 B
TypeScript
import { TextInputProps } from 'react-native';
export interface InputBoxProps extends Omit<TextInputProps, 'style'> {
placeholder?: string;
error?: string;
type?: 'text' | 'email' | 'password' | 'phone' | 'number' | 'url';
leftIcon?: string;
rightIcon?: string;
onRightIconPress?: () => void;
disabled?: boolean;
label?: string;
helperText?: string;
variant?: 'outlined' | 'filled';
size?: 'small' | 'medium' | 'large';
fullWidth?: boolean;
style?: any;
containerStyle?: any;
}
export interface InputBoxGroupProps {
children: React.ReactNode;
direction?: 'horizontal' | 'vertical';
spacing?: number;
style?: any;
}
//# sourceMappingURL=interfaces.d.ts.map