0.1.1 • Published 2 years ago

@logo-rn/logo-text-input v0.1.1

Weekly downloads
-
License
See license in LI...
Repository
-
Last release
2 years ago

@logo-rn/logo-text-input

allows user to enter and edit text. allows user to enter password type of text. allows user to enter and edit number type of text.

npm version

Installation

Install the component:

npm i @logo-rn/logo-text-input -s

Usage

Once installed, import the component in your application:

import {LogoTextInput, LogoDecimalInput, LogoPasswordInput} from '@logo-rn/logo-text-input';
   const [value, setValue] = React.useState('');
       <LogoTextInput 
          label="Text Here"
          placeholder={"Yazı Giriniz"}
          value={value}
          onChangeValue={(nextValue: string) => setValue(nextValue)} 
        />
  const [value, setValue] = React.useState(0);
       <LogoDecimalInput  
            label="Number Here"
            placeholder={"Sayı Giriniz"}
            value={value}
            onChangeValue={(nextValue: string) => setValue(nextValue)} 
         />
const [value, setValue] = React.useState('');
       <LogoPasswordInput 
          label="Password Here"
          placeholder={"Sayı Giriniz"}
          value={value}       
          onChangeValue={(nextValue: string) => setValue(nextValue)} />

For more detailed information, please visit:

Logo Elements Documentation ↗