UNPKG

@university-ecosystem/ui-kit

Version:
14 lines (13 loc) 448 B
/// <reference types="react" /> export type InputSize = 'large' | 'default' | 'small' | 'fullwidth'; export type InputBaseColor = 'white' | 'grey'; export type InputProps = React.ComponentProps<'input'> & { errorText?: string; variant?: InputSize; rightIcon?: React.ReactElement; disableClearIcon?: boolean; value?: string; baseColor?: InputBaseColor; label?: string; onChange?: (value: string | number) => void; };