Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FlurinBruehwilerCMI committed Apr 29, 2024
1 parent 070b37e commit e1a3462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ComponentLibrary.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ The input component can't receive focus automatically, you need to pass in a boo
```csharp
private string _content = "";

//an input that has allways focus
//an input that has always focus
ui.Input(ref _content, hasFocus: true);
```

//an input with a div as a wrapper to act as the "hitbox"
```csharp
private string _content = "";

//an input with a div as a wrapper to act as the "hitbox"
using(var div = ui.Div().Width(100).Height(30))
{
ui.Input(ref _content, div.HasFocus);
Expand Down

0 comments on commit e1a3462

Please sign in to comment.