export function formatLabel(fmt: string) { return fmt.replace(/_/g, " ").replace(/\b\w/g, (l) => l.toUpperCase()); }