3.0.11 • Published 8 months ago

@licuido-ui/ui_mobile-input v3.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

MobileInput

An input is a UI element that accepts text data from the user

Author

Modified

Link

Story Book Link to MobileInput

PlayGround

Try it have a fun codeBox

Installation

npm i @licuido-ui/ui_mobile-input

Import component

import { MobileInput } from '@licuido-ui/ui_mobile-input';

Usage

<MobileInput label={''} errorMessage={''} />

Image

alt text

Image

alt text

Sample Code

<MobileInput
  className={''}
  sx={{}}
  placeholder={'Enter mobile number'}
  required={false}
  label={''}
  onChange={console.log}
  fullWidth={true}
  autoFocus={true}
  readonly={false}
  disabled={false}
  value={{}}
  error={false}
  helperText={''}
  id={''}
  selectValu={{}}
  mobileInputStyle={{}}
  inputStyle={{}}
  dropDownStyle={{}}
  labelStyle={{}}
  helperTextStyle={{}}
  errorMessage={''}
  variant=''
/>

Props

NameDescriptionDefaultControl
idThis is unique and used to run BDD test and for applied data-testidstringstring
classNamestring-
sxSxProps{}-RAWsx : {}
placeholderstring-Enter mobile number
requiredboolean-False or True
labelstring-
onChange()=>{}--
fullWidthboolean-False or True
autoFocusboolean-False or True
readonlyboolean-False or True
disabledboolean-False or True
value-RAWvalue : {}
errorboolean-False or True
helperTextstring-
idstring or number-
selectValu-RAWselectValue : {}
mobileInputStyleSxProps{}-RAWmobileInputStyle : {}
inputStyleSxProps{}-RAWinputStyle : {}
dropDownStyleSxProps{}-RAWdropDownStyle : {}
labelStyleSxProps{}-RAWlabelStyle : {}
helperTextStyleSxProps{}-RAWhelperTextStyle : {}
errorMessagestring-
variantThis Describes the variant of the Text Fieldstring
metanusInputStyleThis Describes the Style Prop of the Text FieldobjectRAWmetanusInputStyle : {}
countryCodeThis Describes Country Code Prop JsonarrayArray
isFlagImgboolean-False or True
borderRightThe right side border for dropdownstring1px solid #E9E9E9