mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
[react-native] Add DataDetectorType to WebViewPropertiesIOS (#18543)
This commit is contained in:
17
types/react-native/index.d.ts
vendored
17
types/react-native/index.d.ts
vendored
@@ -1974,6 +1974,23 @@ export interface WebViewPropertiesIOS {
|
||||
*/
|
||||
bounces?: boolean
|
||||
|
||||
/**
|
||||
* Determines the types of data converted to clickable URLs in
|
||||
* the web view’s 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
|
||||
|
||||
Reference in New Issue
Block a user