Skip to content

Commit 52844d9

Browse files
committed
Update code snippet
1 parent cbd7c9d commit 52844d9

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

MAUI/SmartTextEditor/customization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ Add a helpful placeholder to guide users and use [PlaceholderColor]() to make su
7777

7878
<smarttexteditor:SfSmartTextEditor
7979
Placeholder="Type your message..."
80-
PlaceholderColor="#49454F" />
80+
PlaceholderColor="#7E57C2" />
8181

8282
{% endhighlight %}
8383
{% highlight c# tabtitle="C#" %}
8484

8585
var editor = new SfSmartTextEditor
8686
{
8787
Placeholder = "Type your message...",
88-
PlaceholderColor = Color.FromArgb("#49454F")
88+
PlaceholderColor = Color.FromArgb("#7E57C2")
8989
};
9090

9191
{% endhighlight %}

MAUI/SmartTextEditor/getting-started.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -399,11 +399,9 @@ Set the writing context and preferred expressions to guide completions:
399399
Placeholder="Type your reply..."
400400
UserRole="Support engineer responding to customer tickets">
401401
<smarttexteditor:SfSmartTextEditor.UserPhrases>
402-
<x:Array Type="{x:Type x:String}">
403-
<x:String>Thanks for reaching out.</x:String>
404-
<x:String>Please share a minimal reproducible sample.</x:String>
405-
<x:String>We’ll update you as soon as we have more details.</x:String>
406-
</x:Array>
402+
<x:String>Thanks for reaching out.</x:String>
403+
<x:String>Please share a minimal reproducible sample.</x:String>
404+
<x:String>We’ll update you as soon as we have more details.</x:String>
407405
</smarttexteditor:SfSmartTextEditor.UserPhrases>
408406
</smarttexteditor:SfSmartTextEditor>
409407
</ContentPage>

0 commit comments

Comments
 (0)