[react-native] Add DataDetectorType to WebViewPropertiesIOS (#18543)

This commit is contained in:
Al Prater
2017-08-01 20:09:31 +01:00
committed by Sheetal Nandi
parent 1f6037a629
commit 78ea950c0c

View File

@@ -1974,6 +1974,23 @@ export interface WebViewPropertiesIOS {
*/
bounces?: boolean
/**
* Determines the types of data converted to clickable URLs in
* the web views content. By default only phone numbers are detected.
*
* You can provide one type or an array of many types.
*
* Possible values for `dataDetectorTypes` are:
*
* - `'phoneNumber'`
* - `'link'`
* - `'address'`
* - `'calendarEvent'`
* - `'none'`
* - `'all'`
*/
dataDetectorTypes?: DataDetectorTypes | DataDetectorTypes[]
/**
* A floating-point number that determines how quickly the scroll
* view decelerates after the user lifts their finger. You may also