react-modal
react-modal copied to clipboard
ID for modal close button
How can one add an ID attribute for the modal close <button>
(the one in modal title)?
Hi @ZigurdsG , could you kindly and explicitly give an example of the use case of needing that ID attribute and why there is a need for it. Thank you.
It was requested by our testing department. But I have already solved this issue by switching to an other modal dialog. Sorry for any inconvenience I created.