mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 06:29:40 +08:00
Merge pull request #16483 from benben198805/master
add PromptIOSButton interface in prompt method of AlertIOSStatic in type/react-native/index.d.ts
This commit is contained in:
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@@ -6297,7 +6297,7 @@ export interface AdSupportIOSStatic {
|
||||
|
||||
interface AlertIOSButton {
|
||||
text: string
|
||||
onPress?: () => void
|
||||
onPress?: (message?: string) => void
|
||||
style?: "default" | "cancel" | "destructive"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user