export const fromSnakeCase = (text: any) => { return text.replace(/-/g, ' ').replace(/\b\w/g, (word) => word.toUpperCase()); };