Skip to content

Commit 85f2d61

Browse files
add onPress props to AppBar.BackAction
1 parent a2c7045 commit 85f2d61

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Paper__Appbar.re

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ module Header = {
5959

6060
module BackAction = {
6161
[@bs.module "react-native-paper"] [@bs.scope "Appbar"] [@react.component]
62-
external make: (~accessibilityLabel: string=?) => React.element =
62+
external make:
63+
(~accessibilityLabel: string=?, ~onPress: 'a => unit) => React.element =
6364
"BackAction";
6465
};

0 commit comments

Comments
 (0)