Skip to content

Commit 1235abb

Browse files
cknittMoOx
authored andcommitted
bs-react-native-next: add Button (#353)
1 parent 87cc74e commit 1235abb

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

‎bs-react-native-next/src/Button.bs.js‎

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎bs-react-native-next/src/Button.re‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[@react.component] [@bs.module "react-native"]
2+
external make:
3+
(
4+
~accessibilityLabel: string=?,
5+
~color: Style.color=?,
6+
~disabled: bool=?,
7+
~hasTVPreferredFocus: bool=?,
8+
~onPress: unit => unit,
9+
~testID: string=?,
10+
~title: string
11+
) =>
12+
React.element =
13+
"Button";

0 commit comments

Comments
 (0)