Skip to content

Commit 09fe188

Browse files
committed
Fixed Stop props, that are all optional
1 parent 4b6b32d commit 09fe188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReactNativeSvg.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ module LinearGradient = {
910910
module Stop = {
911911
[@react.component] [@bs.module "react-native-svg"]
912912
external make:
913-
(~offset: size, ~stopColor: Color.t, ~stopOpacity: opacity) =>
913+
(~offset: size=?, ~stopColor: Color.t=?, ~stopOpacity: opacity=?) =>
914914
React.element =
915915
"Stop";
916916
};

0 commit comments

Comments
 (0)