-
-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy pathButton.res
More file actions
26 lines (24 loc) · 664 Bytes
/
Button.res
File metadata and controls
26 lines (24 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
include NativeElement
type props = {
ref?: ref,
accessibilityActions?: array<Accessibility.actionInfo>,
accessibilityLabel?: string,
accessibilityLanguage?: string,
accessibilityState?: Accessibility.state,
accessible?: bool,
color?: Color.t,
disabled?: bool,
hasTVPreferredFocus?: bool,
nextFocusDown?: int,
nextFocusForward?: int,
nextFocusLeft?: int,
nextFocusRight?: int,
nextFocusUp?: int,
onAccessibilityAction?: Accessibility.actionEvent => unit,
onPress: Event.pressEvent => unit,
testID?: string,
title?: string,
touchSoundDisabled?: bool,
}
@module("react-native")
external make: React.component<props> = "Button"