react-native-link-xg
v0.0.1
Published
react native link component for both Android and IOS, using pure JavaScript
Downloads
444
Maintainers
Readme
The react-native-Link-xg
- react native Link component for both Android and iOS based on pure JavaScript
Main
- This component provide a Link function for you with which you can handle your own routers
Properties
link
Properties
| Prop | Default | Type | Description |
| :------------ |:---------------:| :---------------:| :-----|
| label | undefined | string
| Specify the label of the link |
| value | - | string
| Specify the value of the link |
| disabled | false | bool
| if you can link |
| multiline | false | bool
| if the link support the multiline|
| error | false | bool
| for you to judge if the content is wrong |
| required| false | bool
| give you an indicate to show this one is a must |
| tips | undefined | string
| give some more explanation |
| wrapperStyle | - | style
| Specify the wrapper style |
| errorStyle | - | style
| Specify the style when there's some error|
| labelStyle | - | style
| Specify the label style|
| onPress | - | func
| you can do sth when you press|