import { QuaternaryTypes } from '../utils'; import { InputHTMLAttributes, PropsWithChildren, ReactNode, SelectHTMLAttributes } from 'react'; export interface InputProps extends InputHTMLAttributes { label?: ReactNode; iconLeft?: ReactNode; iconRight?: ReactNode; sizes?: "small" | "medium" | "large" | undefined; error?: boolean | undefined; skeleton?: boolean | undefined; helperText?: ReactNode; variant?: QuaternaryTypes; type?: string; } export interface DropdownProps extends SelectHTMLAttributes, PropsWithChildren { label?: ReactNode; iconLeft?: ReactNode; iconRight?: ReactNode; sizes?: "small" | "medium" | "large" | undefined; error?: boolean | undefined; skeleton?: boolean | undefined; helperText?: ReactNode; variant?: QuaternaryTypes; type?: string; options?: { value: string | number; text: string; }[]; } export interface FieldsetProps extends InputProps { direction?: "row" | "column"; groupSetName?: string; } export interface RadioButtonProps extends InputProps { radioText: string; value: string | number; groupName: string; } export interface DownPaymentProps extends InputHTMLAttributes { inputRight?: ReactNode; } export interface CurencyInputProps extends InputProps { maxfractiondigits?: number; minfractiondigits?: number; } export interface DatepickerInputProps extends InputProps { radioText: string; value: string | number; groupName: string; }