Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
beyaz committed Jan 29, 2024
1 parent 3fb7eb6 commit 3164336
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ReactWithDotNet/ThirdPartyLibraries/FramerMotion/motion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public sealed class div : ElementBase
public dynamic whileHover { get; } = new ExpandoObject();

public static IModifier Modify(Action<div> modifyAction) => CreateThirdPartyReactComponentModifier(modifyAction);

[ReactProp]
[ReactGrabEventArgumentsByUsingFunction("ReactWithDotNet::Core::CalculateSyntheticMouseEventArguments")]
public MouseEventHandler onClick { get; set; }
}

public sealed class button : ElementBase
Expand All @@ -51,5 +55,9 @@ public sealed class button : ElementBase
[ReactProp]
[ReactTransformValueInClient(Core__ReplaceNullWhenEmpty)]
public dynamic whileHover { get; } = new ExpandoObject();

[ReactProp]
[ReactGrabEventArgumentsByUsingFunction("ReactWithDotNet::Core::CalculateSyntheticMouseEventArguments")]
public MouseEventHandler onClick { get; set; }
}
}

0 comments on commit 3164336

Please sign in to comment.