🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More →
Socket
Book a DemoInstallSign in
Socket

alpha-editable-text-react-native

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alpha-editable-text-react-native

This module replace with your text. using this you edit the text at same place

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

alpha-editable-text-react-native

Installation

npm i --save alpha-editable-text-react-native

Usage

import EditableText from './EditableText/EditableText';
<EditableText
                        value={this.state.name}
                        fontSize={12}
                        color={black50}
                        width={350}
                        multiline={true}
                        maxLength={128}
                        numberOfLines={4}
                        textAlign='justify'
                        Validate={(val)=>{
                            if(val==''){
                                return {'err':true,'msg':'Fill bio'}
                            }
                            return{'err':false,'msg':''}
                        }}
                        borderBottomColor='red'
                        borderBottomWidth={1}
                        ChangedValue={(val)=>{
                           this.setState({name:val})
                        }}
                        />

Example

Check full example in the Example folder.

License

© Ronak Dholariya

Keywords

react-native

FAQs

Package last updated on 22 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts