style: kanban dropdowns, github integration loaders
This commit is contained in:
parent
69e8b504de
commit
b4c4271f66
12 changed files with 91 additions and 60 deletions
|
|
@ -4,6 +4,9 @@ export const replaceUnderscoreIfSnakeCase = (str: string) => str.replace(/_/g, "
|
|||
|
||||
export const capitalizeFirstLetter = (str: string) => str.charAt(0).toUpperCase() + str.slice(1);
|
||||
|
||||
export const truncateText = (str: string, length: number) =>
|
||||
str.length > length ? `${str.substring(0, length)}...` : str;
|
||||
|
||||
export const createSimilarString = (str: string) => {
|
||||
const shuffled = str
|
||||
.split("")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue