react-native-link-xg

react native link component for both Android and IOS, using pure JavaScript

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-native-link-xg
15230.0.16 years ago6 years agoMinified + gzip package size for react-native-link-xg in KB

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 image

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|