in visual/react/components/Step.tsx [4:10]
export function splitByFirstParenthesis(label: string): { name: string, para: string } {
const index = label.indexOf('(') || 0;
return {
name: index !== -1 ? label.substring(0, index) : label,
para: index !== -1 ? label.substring(index) : '',
}
}