File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ private static IReactEnvironment Environment
66
66
/// <param name="props">Props to initialise the component with</param>
67
67
/// <param name="htmlTag">HTML tag to wrap the component in. Defaults to <div></param>
68
68
/// <param name="containerId">ID to use for the container HTML tag. Defaults to an auto-generated ID</param>
69
- /// <param name="clientOnly">Skip rendering server-side and only output client-side initialisation code. Defaults to false</param>
69
+ /// <param name="clientOnly">Skip rendering server-side and only output client-side initialisation code. Defaults to <c> false</c> </param>
70
70
/// <returns>The component's HTML</returns>
71
71
public static IHtmlString React < T > (
72
72
this IHtmlHelper htmlHelper ,
@@ -97,7 +97,7 @@ public static IHtmlString React<T>(
97
97
/// <param name="props">Props to initialise the component with</param>
98
98
/// <param name="htmlTag">HTML tag to wrap the component in. Defaults to <div></param>
99
99
/// <param name="containerId">ID to use for the container HTML tag. Defaults to an auto-generated ID</param>
100
- /// <param name="clientOnly">Skip rendering server-side and only output client-side initialisation code. Defaults to false</param>
100
+ /// <param name="clientOnly">Skip rendering server-side and only output client-side initialisation code. Defaults to <c> false</c> </param>
101
101
/// <returns>The component's HTML</returns>
102
102
public static IHtmlString ReactWithInit < T > (
103
103
this IHtmlHelper htmlHelper ,
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public void RenderHtmlShouldNotRenderComponentHTML()
76
76
{
77
77
Props = new { hello = "World" }
78
78
} ;
79
- var result = component . RenderHtml ( true ) ; // renderContainerOnly = true
79
+ var result = component . RenderHtml ( renderContainerOnly : true ) ;
80
80
81
81
Assert . AreEqual ( @"<div id=""container""></div>" , result ) ;
82
82
environment . Verify ( x => x . Execute ( It . IsAny < string > ( ) ) , Times . Never ) ;
You can’t perform that action at this time.
0 commit comments