Customise the popup in reactJs

i want to customize the popup in react. i tried BPMNcode this is my code. i use the contextPad. Is this a right approach or what i should do ?

Screenshot from 2023-07-11 17-58-18
need to customize this above image popup.

thanks in advance

Customizing the replace menu (which uses the popup menu feature) works in a similar fashion. You register a custom provider. You can see an example of that here: