Skip to content

Commit

Permalink
docs: Updated a string in array of code example (#7402)
Browse files Browse the repository at this point in the history
Co-authored-by: Ajay Bains <[email protected]>
  • Loading branch information
AjayBains and Ajay Bains authored Jan 14, 2025
1 parent 2e31313 commit 68f6154
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Then, you can use it to style your text:
```js
console.log(
styleText(['red'], 'This is red text ') +
styleText(['green, bold'], 'and this is green bold text ') +
styleText(['green', 'bold'], 'and this is green bold text ') +
'this is normal text'
);
```
Expand Down

0 comments on commit 68f6154

Please sign in to comment.