Skip to content

Commit

Permalink
MudRender: Add nullable annotation. (MudBlazor#7149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScarletKuro authored Jul 4, 2023
1 parent 16f0e65 commit c4f3862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MudBlazor/Components/Render/MudRender.razor
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
@ChildContent

@code {

#nullable enable
/// <summary>
/// The content to render
/// </summary>
[Parameter]
public RenderFragment ChildContent { get; set; }
public RenderFragment? ChildContent { get; set; }

/// <summary>
/// Re-render the content
Expand Down

0 comments on commit c4f3862

Please sign in to comment.