Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bunit.web/TestContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public virtual IRenderedComponent<TComponent> RenderComponent<TComponent>(params
/// <typeparam name="TComponent">Type of the component to render.</typeparam>
/// <param name="parameterBuilder">The ComponentParameterBuilder action to add type safe parameters to pass to the component when it is rendered.</param>
/// <returns>The rendered <typeparamref name="TComponent"/>.</returns>
public virtual IRenderedComponent<TComponent> RenderComponent<TComponent>(Action<ComponentParameterCollectionBuilder<TComponent>> parameterBuilder)
public virtual IRenderedComponent<TComponent> RenderComponent<TComponent>(Action<ComponentParameterCollectionBuilder<TComponent>>? parameterBuilder = null)
where TComponent : IComponent
{
var renderFragment = new ComponentParameterCollectionBuilder<TComponent>(parameterBuilder)
Expand Down