mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-03 08:10:28 +00:00
drop strings composables for lib
This commit is contained in:
parent
86321282f3
commit
4a5928a362
1 changed files with 0 additions and 7 deletions
|
@ -1,7 +0,0 @@
|
|||
export function truncate(str: string, length: number) {
|
||||
return str.length > length ? str.substring(0, length) + "..." : str;
|
||||
}
|
||||
|
||||
export function capitalize(str: string) {
|
||||
return str.charAt(0).toUpperCase() + str.slice(1);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue