drop strings composables for lib

This commit is contained in:
Hayden 2022-09-19 21:34:10 -08:00
parent 86321282f3
commit 4a5928a362

View file

@ -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);
}