alpha-editable-text-react-native

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

Stats

stars šŸŒŸissues āš ļøupdated šŸ› created šŸ£size šŸ‹ļøā€ā™€ļø
00Jul 22, 2018Jul 21, 2018Minified + gzip package size for alpha-editable-text-react-native in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.