Skip to content

Commit 082a1ed

Browse files
fix: Fix Appbar.Action component bindings
1 parent 100afe8 commit 082a1ed

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/Paper__Appbar.bs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
'use strict';
22

33

4-
var Actions = { };
4+
var Action = { };
55

66
var Content = { };
77

88
var Header = { };
99

1010
var BackAction = { };
1111

12-
exports.Actions = Actions;
12+
exports.Action = Action;
1313
exports.Content = Content;
1414
exports.Header = Header;
1515
exports.BackAction = BackAction;

src/Paper__Appbar.re

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ external make:
99
React.element =
1010
"Appbar";
1111

12-
module Actions = {
12+
module Action = {
1313
[@bs.module "react-native-paper"] [@bs.scope "Appbar"] [@react.component]
1414
external make:
1515
(
@@ -23,7 +23,7 @@ module Actions = {
2323
~onPress: unit => unit=?
2424
) =>
2525
React.element =
26-
"Actions";
26+
"Action";
2727
};
2828

2929
module Content = {
@@ -63,4 +63,4 @@ module BackAction = {
6363
(~accessibilityLabel: string=?, ~onPress: 'a => unit, ~color: string=?) =>
6464
React.element =
6565
"BackAction";
66-
};
66+
};

0 commit comments

Comments
 (0)