Skip to content

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

License

Notifications You must be signed in to change notification settings

RONAKDHOLARIYA/alpha-editable-text-react-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published