(str, maxLength)
| 1076 | } |
| 1077 | |
| 1078 | export const truncateString = (str, maxLength) => { |
| 1079 | return str.length > maxLength ? `${str.slice(0, maxLength - 3)}...` : str |
| 1080 | } |
| 1081 | |
| 1082 | const toCamelCase = (str) => { |
| 1083 | return str |
no outgoing calls
no test coverage detected