Use an external component action inside a search
The following React example uses an external component action inside a search. This example shows how to use the setModalOperations property to add buttons and associated behavior to the modal footer and perform validation. The setModalOperations property is a function with an array of modal operations.
Note
The setModalOperations property is an extra property that is only available on external components within the external component action.
A modal operation has the following interface.
The options for the displayType are: link, default, primary, and secondary.