react-native-sandycomponent
TypeScript icon, indicating that this package has built-in type declarations

2.2.9 • Public • Published

react-native-sandycomponent

Login with mobile number component

Installation

npm install react-native-sandycomponent

yarn add react-native-sandycomponent

Usage

import sandy from 'react-native-sandycomponent';

// ...

 <Sandy 
 //props
 />
If you are using Login with mobile number 
pass props in component
onChangeOTP(callback)
onChangeOTP={value => console.log('val------', value)}
If you are using Login with Email Password
pass props in component
onChangeEmailPassword(callback)
onChangeEmailPassword={value => console.log('val------', value)}
 onChangeText: (params: any) => any;
  value: any;
  onChangeTextOTP1: (params: any) => any;
  valueOTP1: any;
  onChangeTextOTP2: (params: any) => any;
  valueOTP2: any;
  onChangeTextOTP3: (params: any) => any;
  valueOTP3: any;
  onChangeTextOTP4: (params: any) => any;
  valueOTP4: any;
  onChangeTextOTP5: (params: any) => any;
  valueOTP5: any;
  onPress: (params: any) => any;
  onBlur: (params: any) => any;
  onChange: (params: any) => any;
  onFocus: (params: any) => any;
  buttonText: string;
  source?: JSX.Element;
  keyboardType: any;
  input: any;
  editable: boolean;
  placeholder: string;
  multiline: boolean;
  autoCapitalize: any;
  returnKeyType: any;
  placeholderTextColor: string;
  numberOfLines: number;
  maxLength: number;
  autoFocus: boolean;
  blurOnSubmit: boolean;
  enablesReturnKeyAutomatically: boolean;
  returnKeyLabel: string;
  secureTextEntry: boolean;
  textAlign: any;
  ImageViewStyle: any;
  ContainerViewStyle: any;
  ImageStyle: any;
  MainView: any;
  TextStyle: any;
  InputBoxStyle: any;
  ButtonViewStyle: any;
  ButtonTextStyle: any;
  RequestButtonText:string
  button: boolean;
  SignupButton: boolean;
  SignupTextStyle: any;
  SingupStyle: any;
  SingupText: string;
  Singup: string;
  SingupClick: (params: any) => any;
  Login: string;
  valueOTP: string;
  onChangeTextOTP: (params: any) => any;
  placeholderOTP: string;
  placeholderTextColorOTP: string;
  editableOTP: boolean;
  autoFocusOTP: boolean;
  blurOnSubmitOTP: boolean;
  enablesReturnKeyAutomaticallyOTP: boolean;
  onBlurOTP: (params: any) => any;
  onFocusOTP: (params: any) => any;
  onChangeOTP: (params: any) => any;
  secureTextEntryOTP: boolean;
  ResendOTP: string;
  DontOTP: string;
  ResendButtonStyle: any;
  resendText:string
  buttonTextOTP: string;
  onPressOTP: (params: any) => any;
  ResendButtonClick: (params: any) => any;
  LoginTextOTP: string;
  modalVisible: boolean;
  doneButton: (params: any) => any;
  Texttitle: string;
  SocialIconStyle: any;
  RegisterText: string;
  RegisterTextStyle: any;
  TexttitleStyle: any;
  OTPNumber:string
  InputBoxStyleOTP:any
  MainRegisterText:string
  MainRegisterTextStyle:any
  inputContainerStyle:any
  GoogleButtonClick:(params: any) => any;
  FbButtonClick:(params: any) => any;
  AppButtonClick:(params: any) => any;
  RegisterTextClick:(params: any) => any;
  ref: any

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Package Sidebar

Install

npm i react-native-sandycomponent

Weekly Downloads

26

Version

2.2.9

License

MIT

Unpacked Size

693 kB

Total Files

31

Last publish

Collaborators

  • sandyrn2911