There is some code on a page:
addAnother={{
text: language('Add variant'),
dataCy: 'addVariant',
as: 'button',
buttonProps: { variant: 'alternate', className: cx.addAnotherButton, onClick: () => setOpened(true) },
}}
When this gets outputted on the page the attribute is dataCy, is there anything I can do to make it show up as data-cy?