Skip to content

Commit

Permalink
add DynamicallyAccessedMembers to Component
Browse files Browse the repository at this point in the history
  • Loading branch information
JaggerJo committed Nov 5, 2023
1 parent a3b4b41 commit b0aa279
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Avalonia.FuncUI/Components/Component.fs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
namespace Avalonia.FuncUI

open System
open System.Diagnostics.CodeAnalysis
open Avalonia.Controls
open Avalonia.FuncUI
open Avalonia.FuncUI.Types
open Avalonia.FuncUI.VirtualDom
open Avalonia.Threading

[<AllowNullLiteral>]
[<DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)>]
type Component (render: IComponentContext -> IView) as this =
inherit Border ()
let context = new Context(this)
Expand Down

0 comments on commit b0aa279

Please sign in to comment.