design-system-react
design-system-react copied to clipboard
Pass the event through on SLDSButton `onClick`?
Currently the origin event is dropped, can we pass through so we can preventDefault or stopPropagation or anything else we need to do on it?
Need to pass (e) through here, if we want to. If there's a more elegant way, let me know :)
https://github.com/salesforce-ux/design-system-react/blob/master/components/SLDSButton/index.jsx#L94
Fixed in this PR: https://github.com/salesforce-ux/design-system-react/pull/202