Skip to content

Commit 86786e7

Browse files
fix readme
1 parent 68b706d commit 86786e7

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,11 @@ This example covers:
274274
</div>
275275

276276
@code {
277+
private static readonly FancyTableTexts DemoTexts = FancyTableTexts.Default with
278+
{
279+
SearchPlaceholder = "Search name or city..."
280+
};
281+
277282
private IReadOnlyList<PersonRow> PeopleRows =
278283
[
279284
new("Alice", "Berlin", 31),
@@ -417,10 +422,6 @@ Wrapper class parameters append to the built-in layout classes, so utility class
417422

418423
@code {
419424
private FancyTreeTable<RuleRow>? RuleTable;
420-
private static readonly FancyTableTexts DemoTexts = FancyTableTexts.Default with
421-
{
422-
SearchPlaceholder = "Search name or city..."
423-
};
424425

425426
private static readonly FancyTableTexts RuleTableTexts = FancyTableTexts.Default with
426427
{
@@ -479,7 +480,7 @@ Wrapper class parameters append to the built-in layout classes, so utility class
479480
class="btn btn-sm btn-outline-dark"
480481
disabled="@(RuleTable is null)"
481482
@onclick="ExpandViaReferenceAsync">
482-
Expand via @ref
483+
Expand via @@ref
483484
</button>
484485
<span class="small text-muted">
485486
@context.VisibleNodeCount visible rows, @context.ExpandedNodeCount expanded nodes

0 commit comments

Comments
 (0)