Skip to content

Commit 561d265

Browse files
committed
docs: add support section to README
1 parent b98ce8f commit 561d265

File tree

1 file changed

+33
-8
lines changed

1 file changed

+33
-8
lines changed

README.md

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# React Native AutoLink
2-
[![NPM Version][npm-image]][npm-url] [![Build Status][build-image]][build-url] [![Dependency Status][depstat-image]][depstat-url] [![Dev Dependency Status][devdepstat-image]][devdepstat-url]
2+
3+
[![Version][version-image]][package-url] [![Downloads][downloads-image]][package-url] [![Build Status][build-image]][build-url] [![License][license-image]][license-url]
34

45
Auto-Linking component for React Native. Parses text and wraps URLs, phone numbers, emails, social handles, hashtags, and more with Text nodes and onPress handlers. And it's all fully customizable :)
56

@@ -54,12 +55,36 @@ class MyComponent extends Component {
5455
| `truncateLocation` | `String` | `"smart"` | Specify location of truncation. Possible values: `"smart"`, `"end"`, `"middle"`. |
5556
| `webFallback` | `Boolean` | Android: `true` iOS: `false` | Link to web versions of Instagram/Twitter for hashtag and mention links when users don't have the respective app installed. *Requires `LSApplicationQueriesSchemes` on iOS. See: https://facebook.github.io/react-native/docs/linking.html* |
5657

58+
## Supported By
59+
60+
<a href="https://www.disruptivelabs.io">
61+
<img src="https://www.disruptivelabs.io/images/logo.png" alt="Disruptive Labs" width="150" />
62+
</a>
63+
64+
## License
65+
66+
```text
67+
Copyright (c) 2016-2020 Josh Swan
68+
69+
Licensed under the The MIT License (MIT) (the "License");
70+
you may not use this file except in compliance with the License.
71+
You may obtain a copy of the License at
72+
73+
https://raw.githubusercontent.com/joshswan/react-native-autolink/master/LICENSE
74+
75+
Unless required by applicable law or agreed to in writing, software
76+
distributed under the License is distributed on an "AS IS" BASIS,
77+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
78+
79+
See the License for the specific language governing permissions and
80+
limitations under the License.
81+
```
82+
83+
[build-image]: https://img.shields.io/circleci/build/gh/joshswan/react-native-autolink?style=flat-square
5784
[build-url]: https://circleci.com/gh/joshswan/react-native-autolink
58-
[build-image]: https://circleci.com/gh/joshswan/react-native-autolink.svg?style=svg
59-
[depstat-url]: https://david-dm.org/joshswan/react-native-autolink
60-
[depstat-image]: https://david-dm.org/joshswan/react-native-autolink.svg
61-
[devdepstat-url]: https://david-dm.org/joshswan/react-native-autolink#info=devDependencies
62-
[devdepstat-image]: https://david-dm.org/joshswan/react-native-autolink/dev-status.svg
63-
[npm-url]: https://www.npmjs.com/package/react-native-autolink
64-
[npm-image]: https://badge.fury.io/js/react-native-autolink.svg
85+
[downloads-image]: https://img.shields.io/npm/dm/react-native-autolink?style=flat-square
86+
[license-image]: https://img.shields.io/npm/l/react-native-autolink?color=blue&style=flat-square
87+
[license-url]: https://github.com/joshswan/react-native-autolink/blob/master/LICENSE
88+
[package-url]: https://www.npmjs.com/package/react-native-autolink
89+
[version-image]: https://img.shields.io/npm/v/react-native-autolink?style=flat-square
6590
[match-url]: http://greg-jacobs.com/Autolinker.js/api/index.html#!/api/Autolinker.match.Match

0 commit comments

Comments
 (0)