We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38872e1 commit 03880aaCopy full SHA for 03880aa
src/ReactNativeSvg.re
@@ -3,7 +3,7 @@ open ReactNative;
3
type size = Style.size;
4
type sizes = array(size);
5
type opacity = string;
6
-external opacity: float => size = "%identity";
+external opacity: float => opacity = "%identity";
7
8
// https://github.com/react-native-community/react-native-svg#use-with-xml-strings
9
module SvgXml = {
@@ -888,7 +888,7 @@ module Image = {
888
889
module ClipPath = {
890
[@react.component] [@bs.module "react-native-svg"]
891
- external make: (~id: string) => React.element = "ClipPath";
+ external make: (~children: React.element=?, ~id: string) => React.element = "ClipPath";
892
};
893
894
module LinearGradient = {
0 commit comments