Rewrite DDM Collapsible in React